client

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL