Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamInterceptor ¶
func StreamInterceptor(opts ...Option) func(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, streamer grpc.Streamer, opts ...grpc.CallOption) (grpc.ClientStream, error)
Types ¶
type ClientStream ¶
type ClientStream struct { grpc.ClientStream // contains filtered or unexported fields }
func (*ClientStream) RecvMsg ¶
func (l *ClientStream) RecvMsg(m interface{}) error
type HeaderSpanDecorator ¶
type Option ¶
type Option func(*interceptorOption)
func WithDefaultDecorators ¶
func WithDefaultDecorators() Option
func WithHeaderSpanDecorators ¶
func WithHeaderSpanDecorators(decorators ...HeaderSpanDecorator) Option
func WithStatsSpanDecorators ¶
func WithStatsSpanDecorators(decorators ...StatsSpanDecorator) Option
Click to show internal directories.
Click to hide internal directories.