Documentation
¶
Index ¶
- Variables
- func Del(client *api.Client, key string, opt QueryOptions) (bool, error)
- func DelTree(client *api.Client, prefix string, opt QueryOptions) (bool, error)
- func GetKV(client *api.Client, key string, opt QueryOptions) (string, error)
- func PutKV(client *api.Client, key, value string, opt QueryOptions) (bool, error)
- type QueryOptions
- type ServiceAddr
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ServiceError = errors.New("Service not found")
)
Functions ¶
Types ¶
type QueryOptions ¶
type ServiceAddr ¶
func GetServiceAddr ¶
func GetServiceAddr(client *api.Client, service, tag string, opt QueryOptions) (addrs []*ServiceAddr, err error)
Click to show internal directories.
Click to hide internal directories.