Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stat ¶
type Stat struct {
Ts int64 `json:"ts"`
Event int64 `json:"event"`
Data *TorrentStat `json:"data"`
}
type StatDb ¶
type StatDb struct {
// contains filtered or unexported fields
}
func (*StatDb) AddTorrentStats ¶ added in v0.1.10
func (db *StatDb) AddTorrentStats(ts int64, event int64, torrentStats []*TorrentStat)
func (*StatDb) ShowTrafficStats ¶
type Statistics ¶
type TorrentStat ¶
type TorrentStat struct {
Client string `json:"client"`
Site string `json:"site"`
Category string `json:"category"`
InfoHash string `json:"infoHash"`
Name string `json:"name"`
Size int64 `json:"size"`
Atime int64 `json:"atime"`
Uploaded int64 `json:"uploaded"`
Downloaded int64 `json:"downloaded"`
Msg string `json:"msg"`
}
Click to show internal directories.
Click to hide internal directories.