Documentation ¶
Index ¶
- Constants
- func AuthGRPC() grpc.StreamServerInterceptor
- func AuthGRPCUnary() grpc.UnaryServerInterceptor
- func DefaultCodeToLevelGRPC(c codes.Code) grpc_logging.Level
- func Handle(ctx context.Context) 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 AuthGRPC ¶ added in v0.0.37
func AuthGRPC() grpc.StreamServerInterceptor
func AuthGRPCUnary ¶ added in v0.0.39
func AuthGRPCUnary() grpc.UnaryServerInterceptor
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.