Documentation ¶
Index ¶
- Variables
- type Interval
- type TopDB
- func (db *TopDB) Close() error
- func (db *TopDB) Get(i Interval, t time.Time, top, key string) (uint64, error)
- func (db *TopDB) GetTops(i Interval, t time.Time, top string) ([]*TopEntry, error)
- func (db *TopDB) Incr(i Interval, t time.Time, top, key string, value uint64) error
- func (db *TopDB) IncrAll(t time.Time, top, key string, value uint64) error
- type TopEntry
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TopContent = "content" TopPageview = "pv" TopReferer = "referer" TopStatusCode = "status" TopCountry = "country" TopHost = "host" TopStatus = "status" TopDuration = "duration" TopPathStatus = "pathstatus" )
View Source
var (
App = "app"
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.