Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnTrace ¶
type ConnTrace struct { Write func(size int) Read func(size int) TCPStart func() TCPEstablished func() }
ConnTrace is a set of hooks to run at various events of a TCP connection
func ContextConnTrace ¶
ContextConnTrace returns the ClientTrace associated with the provided context. If none, it returns nil.
Click to show internal directories.
Click to hide internal directories.