Documentation ¶
Index ¶
- func GRPCContextStreamWrapper(ctxWrapper func(ctx context.Context) (context.Context, error)) grpc.StreamServerInterceptor
- func GRPCContextUnaryWrapper(ctxWrapper func(ctx context.Context) (context.Context, error)) grpc.UnaryServerInterceptor
- func HTTPContextWrapper(h http.Handler, ctxWrapper func(ctx context.Context) context.Context) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GRPCContextStreamWrapper ¶
func GRPCContextStreamWrapper(ctxWrapper func(ctx context.Context) (context.Context, error)) grpc.StreamServerInterceptor
GRPCContextStreamWrapper implements wrapper of stream handler with context overriding
func GRPCContextUnaryWrapper ¶
func GRPCContextUnaryWrapper(ctxWrapper func(ctx context.Context) (context.Context, error)) grpc.UnaryServerInterceptor
GRPCContextUnaryWrapper implements wrapper of unary handler with context overriding
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.