Documentation
¶
Index ¶
- Constants
- type ClientHandler
- func (c *ClientHandler) HandleConn(ctx context.Context, cs stats.ConnStats)
- func (c *ClientHandler) HandleRPC(ctx context.Context, rs stats.RPCStats)
- func (c *ClientHandler) TagConn(ctx context.Context, cti *stats.ConnTagInfo) context.Context
- func (c *ClientHandler) TagRPC(ctx context.Context, rti *stats.RPCTagInfo) context.Context
- type ServerHandler
- func (s *ServerHandler) HandleConn(ctx context.Context, cs stats.ConnStats)
- func (s *ServerHandler) HandleRPC(ctx context.Context, rs stats.RPCStats)
- func (s *ServerHandler) TagConn(ctx context.Context, cti *stats.ConnTagInfo) context.Context
- func (s *ServerHandler) TagRPC(ctx context.Context, rti *stats.RPCTagInfo) context.Context
Constants ¶
View Source
const (
StandardPayloadAttributeSizeLimit = 256
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientHandler ¶
type ClientHandler struct { StartOptions trace.StartOptions PayloadAttributeLengthLimit int }
func NewStandardClientHandler ¶ added in v0.0.2
func NewStandardClientHandler() *ClientHandler
func (*ClientHandler) HandleConn ¶
func (c *ClientHandler) HandleConn(ctx context.Context, cs stats.ConnStats)
func (*ClientHandler) HandleRPC ¶
func (c *ClientHandler) HandleRPC(ctx context.Context, rs stats.RPCStats)
func (*ClientHandler) TagConn ¶
func (c *ClientHandler) TagConn(ctx context.Context, cti *stats.ConnTagInfo) context.Context
func (*ClientHandler) TagRPC ¶
func (c *ClientHandler) TagRPC(ctx context.Context, rti *stats.RPCTagInfo) context.Context
type ServerHandler ¶
type ServerHandler struct { StartOptions trace.StartOptions PayloadAttributeLengthLimit int }
func NewStandardServerHandler ¶ added in v0.0.2
func NewStandardServerHandler() *ServerHandler
func (*ServerHandler) HandleConn ¶
func (s *ServerHandler) HandleConn(ctx context.Context, cs stats.ConnStats)
func (*ServerHandler) HandleRPC ¶
func (s *ServerHandler) HandleRPC(ctx context.Context, rs stats.RPCStats)
func (*ServerHandler) TagConn ¶
func (s *ServerHandler) TagConn(ctx context.Context, cti *stats.ConnTagInfo) context.Context
func (*ServerHandler) TagRPC ¶
func (s *ServerHandler) TagRPC(ctx context.Context, rti *stats.RPCTagInfo) context.Context
Click to show internal directories.
Click to hide internal directories.