stats

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatsService

func NewStatsService(opts ...Option) (svc2 interfaces.StatsService, err error)

func ProvideStatsService

func ProvideStatsService(opts ...Option) func() (svc interfaces.StatsService, err error)

Types

type Option

type Option func(svc interfaces.StatsService)

type Service

type Service struct {
}

func (*Service) GetDailyStats

func (svc *Service) GetDailyStats(query bson.M) (data interface{}, err error)

func (*Service) GetOverviewStats

func (svc *Service) GetOverviewStats(query bson.M) (data interface{}, err error)

func (*Service) GetTaskStats

func (svc *Service) GetTaskStats(query bson.M) (data interface{}, err error)

Jump to

Keyboard shortcuts

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