Documentation ¶
Index ¶
- func CustomMatcher(key string) (string, bool)
- func ErrorHandler(ctx context.Context, mux *runtime.ServeMux, marshaler runtime.Marshaler, ...)
- func HttpResponseModifier(ctx context.Context, w http.ResponseWriter, p proto.Message) error
- func RecoveryInterceptorOpt() grpc_recovery.Option
- func StreamAppendMetadataInterceptor(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, ...) error
- func UnaryAppendMetadataInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomMatcher ¶
func ErrorHandler ¶
func HttpResponseModifier ¶
func RecoveryInterceptorOpt ¶
func RecoveryInterceptorOpt() grpc_recovery.Option
RecoveryInterceptor - panic handler
func StreamAppendMetadataInterceptor ¶
func StreamAppendMetadataInterceptor(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
CustomInterceptor - append metadatas for stream
func UnaryAppendMetadataInterceptor ¶
func UnaryAppendMetadataInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
CustomInterceptor - append metadatas for unary
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.