Documentation ¶
Index ¶
Constants ¶
View Source
const ( ActiveAppsTrimInterval = 1 * time.Minute ActiveAppsEntryLifetime = 30 * time.Minute )
View Source
const ( TopAppsTrimInterval = 10 * time.Second TopAppsEntryLifetime = 60 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveApps ¶
func NewActiveApps ¶
func NewActiveApps() *ActiveApps
func (*ActiveApps) ActiveSince ¶
func (x *ActiveApps) ActiveSince(y time.Time) []string
func (*ActiveApps) Trim ¶
func (x *ActiveApps) Trim(y time.Time)
type TopApps ¶
func NewTopApps ¶
func NewTopApps() *TopApps
type TopAppsTopEntry ¶
Click to show internal directories.
Click to hide internal directories.