Documentation
¶
Overview ¶
Package grpcid provides a gRPC middleware interceptor that adds a string ID to the request context.
Index ¶
Constants ¶
View Source
const (
// DefaultTag is the default tag name used.
DefaultTag = "correlation.id"
)
Variables ¶
This section is empty.
Functions ¶
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(opts ...Option) grpc.UnaryServerInterceptor
UnaryServerInterceptor creates a unary server interceptor for gRPC that adds a string ID to the request context.
Types ¶
Click to show internal directories.
Click to hide internal directories.