helpers

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 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

ErrToRPCError converts the given error into a gRPC 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