Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstrumentingMiddleware ¶
type InstrumentingMiddleware struct { RequestCount metrics.Counter RequestLatency metrics.Histogram Next service.Greeter }
type LoggingMiddleware ¶
type LoggingMiddlewareGRPC ¶
type LoggingMiddlewareGRPC struct { Logger *log.Logger Next service.GreeterGRPC }
func (LoggingMiddlewareGRPC) GreetGRPC ¶
func (mw LoggingMiddlewareGRPC) GreetGRPC(ctx context.Context, in *service.GRPCGreetRequest) (output *service.GRPCGreetResponse, err error)
Click to show internal directories.
Click to hide internal directories.