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 interface{}, cc *grpc.ClientConn, ...) (err error)
- func RpcServerInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err 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 interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption, ) (err error)
func RpcServerInterceptor ¶
func RpcServerInterceptor( ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, ) (resp interface{}, err error)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.