grpchelper

package module
Version: 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL