Documentation ¶
Index ¶
- Constants
- Variables
- func Find(filter types.Filter, agg string) (types.Counts, error)
- func PushToQueue(c *_types.Count) error
- func RunQueue()
- func StatsByDashboard(dashId int) ([]*types.DashStatRow, error)
- func StatsByDashboardCached(dashId int) ([]*types.DashStatRow, error)
- func StatsByLogname(dashId int, logname string) ([]*types.DashStatRow, error)
- func StatsByLognameCached(dashId int, logname string) ([]*types.DashStatRow, error)
- func StopQueue() error
Constants ¶
View Source
const ( AggMinute = "m" Agg5Minutes = "5m" AggHour = "h" AggDay = "d" )
Variables ¶
View Source
var Queue *queue.Queue
Functions ¶
func PushToQueue ¶
func StatsByDashboard ¶ added in v1.0.9
func StatsByDashboard(dashId int) ([]*types.DashStatRow, error)
func StatsByDashboardCached ¶ added in v1.0.9
func StatsByDashboardCached(dashId int) ([]*types.DashStatRow, error)
func StatsByLogname ¶ added in v1.0.9
func StatsByLogname(dashId int, logname string) ([]*types.DashStatRow, error)
func StatsByLognameCached ¶ added in v1.0.9
func StatsByLognameCached(dashId int, logname string) ([]*types.DashStatRow, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.