Documentation ¶
Index ¶
- func BytesFormat(v int64) string
- type Netflow
- func (nf *Netflow) AddConn(n int32)
- func (nf *Netflow) ConnTotal() (n int32)
- func (nf *Netflow) DelConn(n int32)
- func (nf *Netflow) ReadTotal() (n int64)
- func (nf *Netflow) Report(r, w int)
- func (nf *Netflow) Start(sec int, fnlog func(i NetflowInfo))
- func (nf *Netflow) Stop()
- func (nf *Netflow) WrittenTotal() (n int64)
- type NetflowConn
- type NetflowInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesFormat ¶
Types ¶
type Netflow ¶
type Netflow struct {
// contains filtered or unexported fields
}
func (*Netflow) Start ¶
func (nf *Netflow) Start(sec int, fnlog func(i NetflowInfo))
func (*Netflow) WrittenTotal ¶
type NetflowConn ¶
Click to show internal directories.
Click to hide internal directories.