Documentation
¶
Index ¶
- Constants
- func Find(filter types.Filter, agg string) (types.Counts, error)
- 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)
- type CountStorage
Constants ¶
View Source
const ( AggMinute = "m" Agg5Minutes = "5m" AggHour = "h" AggDay = "d" )
Variables ¶
This section is empty.
Functions ¶
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 ¶
type CountStorage ¶ added in v1.20.13
type CountStorage struct {
// contains filtered or unexported fields
}
func NewCountStorage ¶ added in v1.20.13
func NewCountStorage() *CountStorage
func (*CountStorage) RunQueue ¶ added in v1.20.13
func (storage *CountStorage) RunQueue() *CountStorage
func (*CountStorage) StopQueue ¶ added in v1.20.13
func (storage *CountStorage) StopQueue() error
Click to show internal directories.
Click to hide internal directories.