xnet: Draft tracing layer that can be applied on top of networker
This patch adds xnet.NetTrace which wraps a networker calling notification functions on Connect/Listen/Tx events. The code is draft and I'm not sure adding this functionality is good idea, but I still add it for completeness and because there is one user for it. Please do not expect the interface of xnet tracing to be stable.
Showing
xnet/trace.go
0 → 100644
Please register or sign in to comment