Documentation ¶
Index ¶
- func StreamAccessLog() grpc.StreamServerInterceptor
- func StreamCrash(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, ...) (err error)
- func UnaryAccessLog() grpc.UnaryServerInterceptor
- func UnaryCrash(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err error)
- func UnaryTimeout(timeout time.Duration) grpc.UnaryServerInterceptor
- func WithStreamClient(interceptors ...grpc.StreamClientInterceptor) grpc.DialOption
- func WithStreamServer(interceptors ...grpc.StreamServerInterceptor) grpc.ServerOption
- func WithUnaryClient(interceptors ...grpc.UnaryClientInterceptor) grpc.DialOption
- func WithUnaryServer(interceptors ...grpc.UnaryServerInterceptor) grpc.ServerOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamAccessLog ¶ added in v2.1.6
func StreamAccessLog() grpc.StreamServerInterceptor
func StreamCrash ¶
func StreamCrash(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) (err error)
func UnaryAccessLog ¶ added in v2.1.6
func UnaryAccessLog() grpc.UnaryServerInterceptor
func UnaryCrash ¶
func UnaryCrash(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)
func UnaryTimeout ¶
func UnaryTimeout(timeout time.Duration) grpc.UnaryServerInterceptor
func WithStreamClient ¶
func WithStreamClient(interceptors ...grpc.StreamClientInterceptor) grpc.DialOption
func WithStreamServer ¶
func WithStreamServer(interceptors ...grpc.StreamServerInterceptor) grpc.ServerOption
func WithUnaryClient ¶
func WithUnaryClient(interceptors ...grpc.UnaryClientInterceptor) grpc.DialOption
func WithUnaryServer ¶
func WithUnaryServer(interceptors ...grpc.UnaryServerInterceptor) grpc.ServerOption
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.