Versions in this module Expand all Collapse all v1 v1.0.0 Dec 3, 2020 Changes in this version + type Session struct + DownloadBytes int64 + Extra string + FirstChunkDuration string + FirstChunkReceive time.Time + FirstChunkReceived bool + LocalAddr string + Network string + OutboundTag string + Processes []string + RemoteAddr string + SessionEnd time.Time + SessionStart time.Time + UploadBytes int64 + func (s *Session) AddDownloadBytes(n int64) + func (s *Session) AddUploadBytes(n int64) + type SessionStater interface + AddSession func(key interface{}, session *Session) + GetSession func(key interface{}) *Session + RemoveSession func(key interface{}) + Start func() error + Stop func() error