grpchelper

package module
v0.0.0-...-5c3fd2e Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoConsul = errors.New("initialise Consul first")
)

Functions

func DialConsul

func DialConsul(service, tag string) (conn *grpc.ClientConn, err error)

func DialConsulWithOpts

func DialConsulWithOpts(service, tag string, opts ...grpc.DialOption) (conn *grpc.ClientConn, err error)

DialConsulWithOpts dials consul with provided options, including default options

Types

This section is empty.

Jump to

Keyboard shortcuts

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