Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGRPCService ¶ added in v0.7.0
func NewGRPCService(ctx context.Context, service interface{}, descriptors []*grpc.ServiceDesc, unaryIntercepts []grpc.UnaryServerInterceptor, streamIntercepts []grpc.StreamServerInterceptor) (*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.