func (p TrafficCounter) IncWriteBytes(n int) {
	p.w.Add(uint64(n))
}
IncWriteBytes increases bytes wrote.
package core
import (
	"go.uber.org/atomic"
)
type TrafficCounter struct {
	r, w *atomic.Uint64
}
func (p TrafficCounter) ReadBytes() uint64 {
	return p.r.Load()
}
func (p TrafficCounter) WriteBytes() uint64 {
	return p.w.Load()
}