Documentation
¶
Index ¶
- Variables
- func ContextWithProduct(ctx context.Context, product string) context.Context
- func ParseIncomingMetadata(ctx context.Context) *common.Metadata
- func RequestMetadata(ctx context.Context) *common.Metadata
- func StreamServerInterceptor() grpc.StreamServerInterceptor
- func UnaryServerInterceptor() grpc.UnaryServerInterceptor
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Debug = os.Getenv("DEBUG")
)
Functions ¶
func ContextWithProduct ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor() grpc.StreamServerInterceptor
StreamServerInterceptor returns a new streaming server interceptor for parsing request metadata.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor() grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a new unary server interceptor for parsing request metadata.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.