Documentation ¶
Index ¶
- func Contextualizer(ctx context.Context, fallback contextx.Contextualizer) contextx.Contextualizer
- func GRPCStreamInterceptors(ctx context.Context) []grpc.StreamServerInterceptor
- func GRPCUnaryInterceptors(ctx context.Context) []grpc.UnaryServerInterceptor
- func HTTPMiddlewares(ctx context.Context) []negroni.HandlerFunc
- func Logger(ctx context.Context, fallback *logrusx.Logger) *logrusx.Logger
- func WithContextualizer(ctx context.Context, c contextx.Contextualizer) context.Context
- func WithGRPCStreamInterceptors(ctx context.Context, mws ...grpc.StreamServerInterceptor) context.Context
- func WithGRPCUnaryInterceptors(ctx context.Context, mws ...grpc.UnaryServerInterceptor) context.Context
- func WithHTTPMiddlewares(ctx context.Context, mws ...negroni.HandlerFunc) context.Context
- func WithLogger(ctx context.Context, c *logrusx.Logger) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contextualizer ¶
func Contextualizer(ctx context.Context, fallback contextx.Contextualizer) contextx.Contextualizer
func GRPCStreamInterceptors ¶
func GRPCStreamInterceptors(ctx context.Context) []grpc.StreamServerInterceptor
func GRPCUnaryInterceptors ¶
func GRPCUnaryInterceptors(ctx context.Context) []grpc.UnaryServerInterceptor
func HTTPMiddlewares ¶
func HTTPMiddlewares(ctx context.Context) []negroni.HandlerFunc
func WithContextualizer ¶
func WithHTTPMiddlewares ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.