kit: Index | Files

package client

import ""

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.


Package Files


func New Uses

func New(consulAddr string, logger log.Logger) (profilesvc.Service, error)

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.

Package client imports 9 packages (graph). Updated 2018-04-03. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).