Documentation ¶
Index ¶
- func NewLogger(ctx context.Context, fullMethod string) *structlog.Logger
- func StreamServerAccessLog(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, ...) (err error)
- func StreamServerLogger(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, ...) (err error)
- func StreamServerRecover(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, ...) (err error)
- func UnaryServerAccessLog(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (_ interface{}, err error)
- func UnaryServerLogger(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (_ interface{}, err error)
- func UnaryServerRecover(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (_ interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamServerAccessLog ¶
func StreamServerAccessLog( srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) (err error)
func StreamServerLogger ¶
func StreamServerLogger( srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) (err error)
func StreamServerRecover ¶
func StreamServerRecover( srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) (err error)
func UnaryServerAccessLog ¶
func UnaryServerAccessLog( ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, ) (_ interface{}, err error)
func UnaryServerLogger ¶
func UnaryServerLogger( ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, ) (_ interface{}, err error)
func UnaryServerRecover ¶
func UnaryServerRecover( ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, ) (_ interface{}, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.