Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrToRPCError ¶
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.
Click to show internal directories.
Click to hide internal directories.