Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
var DefaultManager *Manager
func (*Manager) PushDownloaded ¶
func (*Manager) PushUploaded ¶
func (*Manager) ResetStatistic ¶
func (m *Manager) ResetStatistic()
type TcpTracker ¶
func NewTCPTracker ¶
func (*TcpTracker) Close ¶
func (tt *TcpTracker) Close() error
func (*TcpTracker) ID ¶
func (tt *TcpTracker) ID() string
type UdpTracker ¶
type UdpTracker struct { constant.PacketConn `json:"-"` // contains filtered or unexported fields }
func NewUDPTracker ¶
func NewUDPTracker(conn constant.PacketConn, manager *Manager, metadata *constant.Metadata) *UdpTracker
func (*UdpTracker) Close ¶
func (ut *UdpTracker) Close() error
func (*UdpTracker) ID ¶
func (ut *UdpTracker) ID() string
Click to show internal directories.
Click to hide internal directories.