sshfp-generator/consul/entity.go

16 lines
210 B
Go

package consul
type host struct {
Node struct {
Node string
}
Service struct {
Meta map[string]string
CreateIndex int
ModifyIndex int
}
}
type rawHosts []host
type hostsMap map[string]host