Documentation ¶
Index ¶
- func CorsHandler() gin.HandlerFunc
- func GinParseOperationID() gin.HandlerFunc
- func GrpcClient() grpc.DialOption
- func GrpcServer() grpc.ServerOption
- func InterceptChain(intercepts ...grpc.UnaryServerInterceptor) grpc.UnaryServerInterceptor
- func RpcClientInterceptor(ctx context.Context, method string, req, resp any, cc *grpc.ClientConn, ...) (err error)
- func RpcServerInterceptor(ctx context.Context, req any, info *grpc.UnaryServerInfo, ...) (any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GinParseOperationID ¶
func GinParseOperationID() gin.HandlerFunc
func GrpcClient ¶
func GrpcClient() grpc.DialOption
func GrpcServer ¶
func GrpcServer() grpc.ServerOption
func InterceptChain ¶
func InterceptChain(intercepts ...grpc.UnaryServerInterceptor) grpc.UnaryServerInterceptor
func RpcClientInterceptor ¶
func RpcClientInterceptor(ctx context.Context, method string, req, resp any, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) (err error)
func RpcServerInterceptor ¶
func RpcServerInterceptor(ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (any, error)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.