Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrGRPCNotEnabled = errors.New("grpc middleware requires build tag 'grpc'")
ErrGRPCNotEnabled indicates that the gRPC middleware was built without gRPC support.
Functions ¶
Types ¶
type Option ¶
type Option func(*options)
Option defines a configuration option for the gRPC middleware.
func WithRequestKey ¶
WithRequestKey is a no-op placeholder without gRPC support.
func WithTraceKey ¶
WithTraceKey is a no-op placeholder without gRPC support.
Click to show internal directories.
Click to hide internal directories.