Documentation ¶
Index ¶
- Constants
- func DefaultCodeToLevelGRPC(c codes.Code) grpc_logging.Level
- func Handle(ctx context.Context, reg *prometheus.Registry) http.Handler
- func InterceptorLogger() grpc_logging.Logger
- func Run(ctx context.Context, resources ResourceList) error
- func Serve(o *config.Options, x *cli.Context) error
- type ResourceList
- type Vince
Constants ¶
View Source
const Name = "proto"
Name is the name registered for the proto compressor.
Variables ¶
This section is empty.
Functions ¶
func DefaultCodeToLevelGRPC ¶ added in v0.0.31
func DefaultCodeToLevelGRPC(c codes.Code) grpc_logging.Level
DefaultCodeToLevelGRPC is the helper mapper that maps gRPC Response codes to log levels.
func InterceptorLogger ¶ added in v0.0.31
func InterceptorLogger() grpc_logging.Logger
Types ¶
type ResourceList ¶ added in v0.0.8
func (ResourceList) Close ¶ added in v0.0.8
func (r ResourceList) Close() error
func (ResourceList) CloseWithGrace ¶ added in v0.0.28
func (r ResourceList) CloseWithGrace(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.