• Kirill Smelkov's avatar
    xnet: Draft tracing layer that can be applied on top of networker · 621150c1
    Kirill Smelkov authored
    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.
    621150c1
trace.go 3.81 KB