Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateStreamClientInterceptor ¶
func GenerateStreamClientInterceptor(trace bool) grpc.StreamClientInterceptor
GenerateStreamClientInterceptor creates an interceptor function that will log grpc streaming calls.
func GenerateUnaryClientInterceptor ¶
func GenerateUnaryClientInterceptor(trace bool) grpc.UnaryClientInterceptor
GenerateUnaryClientInterceptor creates an interceptor function that will log unary grpc calls.
Types ¶
type LoggingClient ¶
LoggingClient is an http.Client that logs *outoing* REST requests.
type LoggingClientStream ¶
type LoggingClientStream struct { grpc.ClientStream // contains filtered or unexported fields }
LoggingClientStream implements a GRPC client stream that logs output
func (*LoggingClientStream) RecvMsg ¶
func (c *LoggingClientStream) RecvMsg(m interface{}) error
RecvMsg logs messages recieved over a GRPC stream
func (*LoggingClientStream) SendMsg ¶
func (c *LoggingClientStream) SendMsg(m interface{}) error
SendMsg logs messages sent out over a GRPC stream
Click to show internal directories.
Click to hide internal directories.