stats

package
v0.0.0-...-251e415 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregator

type Aggregator struct {
	// contains filtered or unexported fields
}

func NewAggregator

func NewAggregator(store Store) *Aggregator

func (*Aggregator) Run

func (a *Aggregator) Run() error

func (*Aggregator) Stop

func (a *Aggregator) Stop() error

type Store

type Store interface {
	LatestDailyStats() (model.Stats, error)
	AggregateStats(time.Time) error
}

Jump to

Keyboard shortcuts

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