package client
import "github.com/go-kit/kit/examples/profilesvc/client"
Package client provides a profilesvc client based on a predefined Consul service name and relevant tags. Users must only provide the address of a Consul server.
Index ¶
Functions ¶
func New ¶
New returns a service that's load-balanced over instances of profilesvc found in the provided Consul server. The mechanism of looking up profilesvc instances in Consul is hard-coded into the client.
Source Files ¶
- Version
- v0.4.0
- Published
- Mar 6, 2017
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 1 hour ago –
Tools for package owners.