report

package
v0.0.0-...-45c4399 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report struct {
	Store datastore.ReportStore
}

func (Report) GetAccessStatsChart

func (r Report) GetAccessStatsChart(date time.Time, resourceName string) (models.ReportChart, error)

func (Report) GetMemberChurn

func (r Report) GetMemberChurn() (int, error)

func (Report) GetMemberCountsChartByMonth

func (r Report) GetMemberCountsChartByMonth(date time.Time) models.ReportChart

func (Report) GetMemberCountsCharts

func (r Report) GetMemberCountsCharts(chartType string) ([]models.ReportChart, error)

type ReportService

type ReportService interface {
	GetAccessStatsChart(date time.Time, resourceName string) (models.ReportChart, error)
	GetMemberChurn() (int, error)
	GetMemberCountsCharts(chartType string) ([]models.ReportChart, error)
	GetMemberCountsChartByMonth(date time.Time) models.ReportChart
}

Jump to

Keyboard shortcuts

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