client

package
v0.0.0-...-1259dbd Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2016 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(conn *grpc.ClientConn) learn.UserService

New returns an AddService backed by a gRPC client connection. It is the responsibility of the caller to dial, and later close, the connection.

func NewHTTP

func NewHTTP(instance string, logger log.Logger) (learn.UserService, error)

New returns an AddService backed by an HTTP server living at the remote instance. We expect instance to come from a service discovery system, so likely of the form "host:port".

Types

This section is empty.

Jump to

Keyboard shortcuts

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