Documentation ¶
Index ¶
- type Tracker
- func (t *Tracker) AddSample(name string, n uint64)
- func (t *Tracker) BDecode(r io.Reader) (err error)
- func (t *Tracker) BEncode(w io.Writer) (err error)
- func (t *Tracker) ForEach(v func(string, *util.Rate))
- func (t *Tracker) NewRate(name string)
- func (t *Tracker) Rate(name string) (r *util.Rate)
- func (t *Tracker) Tick()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
func NewTracker ¶
func NewTracker() *Tracker
Click to show internal directories.
Click to hide internal directories.