Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGrpcService ¶
func NewGrpcService(ctx context.Context, service interface{}, descriptors []*grpc.ServiceDesc) (*grpc.Server, error)
NewGrpcService creates a grpc service with various defaults middlewares. Notably, the logging and metrics are automatically registered for sane defaults of observability.
func WithDescriptors ¶
func WithDescriptors(descs ...*grpc.ServiceDesc) []*grpc.ServiceDesc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.