count

package
v1.20.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AggMinute   = "m"
	Agg5Minutes = "5m"
	AggHour     = "h"
	AggDay      = "d"
)

Variables

This section is empty.

Functions

func Find

func Find(filter types.Filter, agg string) (types.Counts, error)

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

func (*CountStorage) Store added in v1.20.13

func (storage *CountStorage) Store(c *_types.Count) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL