middlewares

package
v0.0.0-...-69a291b Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GqlgenOperationMiddleware

func GqlgenOperationMiddleware(ctx context.Context, handler graphql.OperationHandler) graphql.ResponseHandler

GqlgenOperationMiddleware USE ONLY AFTER CALL InitMetrics

func GrpcServerUnaryInterceptor

func GrpcServerUnaryInterceptor(ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (any, error)

GrpcServerUnaryInterceptor USE ONLY AFTER CALL InitMetrics

func InitMetrics

func InitMetrics()

InitMetrics USE ONLY AFTER CALL config.InitClientConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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