servicelocator

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 Logger

func Logger(ctx context.Context, fallback *logrusx.Logger) *logrusx.Logger

func WithGRPCStreamInterceptors

func WithGRPCStreamInterceptors(ctx context.Context, mws ...grpc.StreamServerInterceptor) context.Context

func WithGRPCUnaryInterceptors

func WithGRPCUnaryInterceptors(ctx context.Context, mws ...grpc.UnaryServerInterceptor) context.Context

func WithHTTPMiddlewares

func WithHTTPMiddlewares(ctx context.Context, mws ...negroni.HandlerFunc) context.Context

func WithLogger

func WithLogger(ctx context.Context, c *logrusx.Logger) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL