xvertile/tcp-tracker
A simple Go package that wraps a net.Conn and tracks the number of bytes read and written over the connection. It also allows you to set a maximum byte limit, after which the connection will be automatically closed.
GoMIT
A simple Go package that wraps a net.Conn and tracks the number of bytes read and written over the connection. It also allows you to set a maximum byte limit, after which the connection will be automatically closed.
GoMIT