Documentation
¶
Index ¶
- func AccessLog(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (interface{}, error)
- func ClientTracing() grpc.UnaryClientInterceptor
- func ErrorLog(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (interface{}, error)
- func Recovery(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (interface{}, error)
- func ServerTracing(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (interface{}, error)
- func StreamContextTimeout() grpc.StreamClientInterceptor
- func UnaryContextTimeout() grpc.UnaryClientInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLog ¶
func AccessLog(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
func ClientTracing ¶
func ClientTracing() grpc.UnaryClientInterceptor
ClientInterceptor grpc client wrapper
func ErrorLog ¶
func ErrorLog(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
func Recovery ¶
func Recovery(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
func ServerTracing ¶
func ServerTracing(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
func StreamContextTimeout ¶
func StreamContextTimeout() grpc.StreamClientInterceptor
func UnaryContextTimeout ¶
func UnaryContextTimeout() grpc.UnaryClientInterceptor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.