Documentation ¶
Index ¶
- func ChiV5Middleware() func(http.Handler) http.Handler
- func EchoV4Middleware() echo.MiddlewareFunc
- func FiberV2Middleware() fiber.Handler
- func GRPCStreamClientInterceptor() grpc.DialOption
- func GRPCStreamServerInterceptor() grpc.ServerOption
- func GRPCUnaryClientInterceptor() grpc.DialOption
- func GRPCUnaryServerInterceptor() grpc.ServerOption
- func GinMiddleware() gin.HandlerFunc
- func Init() func()
- func InsertHeader(r *http.Request) *http.Request
- func Open(driverName, dataSourceName string) (*sql.DB, error)
- func OpenDB(c driver.Connector) *sql.DB
- func Report(ctx context.Context, e event.Event, metadata ...any) context.Context
- func WrapGorillaMuxRouter(r *mux.Router) *muxtrace.Router
- func WrapHTTPClient(client *http.Client) *http.Client
- func WrapHandler(handler http.Handler) http.Handler
- func WrapHandlerFunc(handlerFunc http.HandlerFunc) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EchoV4Middleware ¶ added in v0.3.0
func EchoV4Middleware() echo.MiddlewareFunc
func FiberV2Middleware ¶ added in v0.6.0
func FiberV2Middleware() fiber.Handler
func GRPCStreamClientInterceptor ¶
func GRPCStreamClientInterceptor() grpc.DialOption
func GRPCStreamServerInterceptor ¶
func GRPCStreamServerInterceptor() grpc.ServerOption
func GRPCUnaryClientInterceptor ¶
func GRPCUnaryClientInterceptor() grpc.DialOption
func GRPCUnaryServerInterceptor ¶
func GRPCUnaryServerInterceptor() grpc.ServerOption
func GinMiddleware ¶ added in v0.2.0
func GinMiddleware() gin.HandlerFunc
func WrapGorillaMuxRouter ¶ added in v0.3.0
func WrapHandlerFunc ¶
func WrapHandlerFunc(handlerFunc http.HandlerFunc) http.HandlerFunc
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.