helpers

package
v0.0.0-...-380335c Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeclareService

func DeclareService(addr, caCertFile, svcName *string) *grpc.ClientConn

DeclareService is helper which creates a conn with a service

func DieIf

func DieIf(err error)

func GetContext

func GetContext(req *http.Request) context.Context

GetContext extract router-specific headers to support dynamic routing & tracing

Types

This section is empty.

Jump to

Keyboard shortcuts

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