# Functions
Bug is equivalent to WithLogEvent(log.Bug()).Code(codes.Internal)
Example: return nil, grpc.Bug().Msg("impossible happened").
BugWithLogger is equivalent to WithLogEvent(logger.Bug()).Code(codes.Internal).
ClientModule is an fx module that provides annotated grpc ClientConnectionBuilder.
GMuxServerModule is an fx module that provides annotated gRPC Server using gmux provided listener and registers its metrics with the prometheus registry.
LoggedError wraps zerolog.Event so that sending an event will also return a grpc error.
RegisterGRPCServerMetrics registers a collection of metrics provided by grpc_prometheus.ServerMetrics with a prometheus registry.
RegisterInfoService registers the InfoService implementation with the provided grpc server.
ServerModule is an fx module that provides annotated gRPC Server using the default listener and registers its metrics with the prometheus registry.
# Structs
BackoffConfig holds configuration for gRPC client backoff.
ClientConstructor holds fields to create an annotated instance of ClientConnectionBuilder.
GRPCClientConfig holds configuration for gRPC Client.
GRPCServerConfig holds configuration for gRPC Server.
InfoService is the implementation of the infov1.InfoServiceServer interface.
LogEvent wraps *zerolog.Event, so that sending an event also returns an grpc error
LogEvent also forwards _some_ builder-functions (like Str()) to the underlying zerolog.Event.
RegisterInfoServiceIn bundles and annotates parameters.
ServerConstructor holds fields to create an annotated gRPC Server.
# Interfaces
ClientConnectionBuilder is a convenience builder to gather []grpc.DialOption.
ClientConnectionWrapper is a convenience wrapper to support predefined dial Options provided by ClientConnectionBuilder.