# Functions
Dial wraps grpc.Dial with the possibility of overriding tracing or adding retry interceptor.
GetLogger returns a logger scoped to request.
LoggerInterceptor is a gRPC server-side interceptor that logs requests.
NewServer creates a new server for gRPC.
SetLogger sets logger in a context.
TraceHealthCheck is used to set if the grpc health check is traced or not.
WithAddr sets the listening address for the server.
WithClientTLS is similar to WithClientTLSFromParams, but reads client certificate and key paths from the GRPC_CLIENT_CERT and GRPC_CLIENT_KEY environment variables.
WithClientTLSFromParams sets the transport credentials on dial.
WithDialOptions sets the grpc.DialOptions for the underlying grpc.Dial.
WithPort sets the listening address for the server as ":<port>".
WithRetry is a grpc dial option that adds retry logic to the requests.
WithServerTLS is similar with WithServerTLSFromParams, only it reads the server certificate, server key and client CAs paths from the GRPC_SERVER_CERT, GRPC_SERVER_KEY and GRPC_CLIENT_CA environment variables.
WithServerTLSFromParams enables TLS on the server using the given paths for the certificate, key and client CAs.
WithServerTracer can be used to override the default tracer.
WithTracer is a grpc dial option that adds a tracing middleware to the requests.
# Constants
Context keys.
# Type aliases
DialOption represents a functional option for Dial.
ServerOption define a functional options used when creating a grpc server.