Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type ServiceEndpoint ¶
type ServiceEndpoint struct {
Type string `json:"type"` // e.g. "http" or "tcp"
Value string `json:"value"` // e.g. "172.135.10.1:8080" or "http://myapp.bosh-lite.com".
}
type ServiceInstance ¶
type ServiceInstance struct {
ServiceName string `json:"service_name"`
Endpoint ServiceEndpoint `json:"endpoint"`
Status string `json:"status,omitempty"`
TTL int `json:"ttl,omitempty"`
Tags []string `json:"tags,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.