Versions in this module Expand all Collapse all v1 v1.51.4 Oct 3, 2022 Changes in this version + func OutgoingTags(ctx context.Context) []byte + func OutgoingTrace(ctx context.Context) []byte + func SetIncomingTags(ctx context.Context, b []byte) context.Context + func SetIncomingTrace(ctx context.Context, b []byte) context.Context + func SetTags(ctx context.Context, b []byte) context.Context + func SetTrace(ctx context.Context, b []byte) context.Context + func Tags(ctx context.Context) []byte + func Trace(ctx context.Context) []byte + type Begin struct + BeginTime time.Time + Client bool + FailFast bool + IsClientStream bool + IsServerStream bool + IsTransparentRetryAttempt bool + func (s *Begin) IsClient() bool + type ConnBegin struct + Client bool + func (s *ConnBegin) IsClient() bool + type ConnEnd struct + Client bool + func (s *ConnEnd) IsClient() bool + type ConnStats interface + IsClient func() bool + type ConnTagInfo struct + LocalAddr net.Addr + RemoteAddr net.Addr + type End struct + BeginTime time.Time + Client bool + EndTime time.Time + Error error + Trailer metadata.MD + func (s *End) IsClient() bool + type Handler interface + HandleConn func(context.Context, ConnStats) + HandleRPC func(context.Context, RPCStats) + TagConn func(context.Context, *ConnTagInfo) context.Context + TagRPC func(context.Context, *RPCTagInfo) context.Context + type InHeader struct + Client bool + Compression string + FullMethod string + Header metadata.MD + LocalAddr net.Addr + RemoteAddr net.Addr + WireLength int + func (s *InHeader) IsClient() bool + type InPayload struct + Client bool + Data []byte + Length int + Payload interface{} + RecvTime time.Time + WireLength int + func (s *InPayload) IsClient() bool + type InTrailer struct + Client bool + Trailer metadata.MD + WireLength int + func (s *InTrailer) IsClient() bool + type OutHeader struct + Client bool + Compression string + FullMethod string + Header metadata.MD + LocalAddr net.Addr + RemoteAddr net.Addr + func (s *OutHeader) IsClient() bool + type OutPayload struct + Client bool + Data []byte + Length int + Payload interface{} + SentTime time.Time + WireLength int + func (s *OutPayload) IsClient() bool + type OutTrailer struct + Client bool + Trailer metadata.MD + WireLength int + func (s *OutTrailer) IsClient() bool + type RPCStats interface + IsClient func() bool + type RPCTagInfo struct + FailFast bool + FullMethodName string