package
0.5.0
Repository: https://github.com/tsingsun/woocoo.git
Documentation: pkg.go.dev

# Functions

DefaultCodeToLevel is the default implementation of gRPC return codes and interceptor log level for server side.
HandleRecoverError return recovery error when grpc occur panic.
JWTFromIncomingContext extracts the token from the incoming context which `ParseTokenFunc` used default token parser.
No description provided by the author
No description provided by the author
UseContextLogger replace the default context logger with grpc context logger.
WrapServerStream returns a ServerStream that has the ability to overwrite context.

# Constants

No description provided by the author

# Variables

ServerField is used in every server-side log statement made through grpc_zap.Can be overwritten before initialization.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WrappedServerStream is a thin wrapper around grpc.ServerStream that allows modifying context.

# Interfaces

No description provided by the author

# Type aliases

ValuesExtractor defines a function for extracting values (keys/tokens) from the given context.