helpers

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrToRPCError

func ErrToRPCError(err error) error

func GetTransportCredentials

func GetTransportCredentials(caCert, tlsCert, tlsKey string, verifyClientCert bool) (credentials.TransportCredentials, error)

GetTransportCredentials returns the TransportCredentials for the given parameters.

func GetgRPCServerOptions

func GetgRPCServerOptions() []grpc.ServerOption

GetgRPCServerOptions returns a []grpc.ServerOption with logging and metrics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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