Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamRecover ¶
func StreamRecover(opts ...StreamOption) grpc.StreamServerInterceptor
func UnaryRecover ¶
func UnaryRecover(opts ...UnaryOption) grpc.UnaryServerInterceptor
Types ¶
type StreamOption ¶
type StreamOption func(o *streamOptions)
func WithStreamHandler ¶
func WithStreamHandler(fn StreamRecoverHandlerFunc) StreamOption
func WithStreamLogName ¶
func WithStreamLogName(name string) StreamOption
type UnaryOption ¶
type UnaryOption func(*unaryOptions)
func WithUnaryHandler ¶
func WithUnaryHandler(fn UnaryRecoverHandlerFunc) UnaryOption
func WithUnaryLogName ¶
func WithUnaryLogName(name string) UnaryOption
type UnaryRecoverHandlerFunc ¶
Click to show internal directories.
Click to hide internal directories.