Documentation
¶
Overview ¶
Package grpcserverutil has helpers for configuring gRPC servers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
NewServer returns a new gRPC Server instance that has been configured with our common options, and to capture metrics & tracing
func StreamInterceptorChain ¶
func StreamInterceptorChain(first, second grpc.StreamServerInterceptor) grpc.StreamServerInterceptor
StreamInterceptorChain lets you use multiple stream interceptors on a single server. gRPC only lets you have one top-level StreamServerInterceptor per server, so this chains them together.
func UnaryInterceptorChain ¶
func UnaryInterceptorChain(first, second grpc.UnaryServerInterceptor) grpc.UnaryServerInterceptor
UnaryInterceptorChain lets you use multiple interceptors on a single server. gRPC only lets you have one top-level UnaryServerInterceptor per server, so this chains them together.
Types ¶
This section is empty.