report

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package report handles the management of reports.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func New

func New(opts Opts) (*Manager, error)

New creates and returns a new instance of the Manager.

func (*Manager) GetOverViewCounts

func (m *Manager) GetOverViewCounts() (json.RawMessage, error)

GetOverViewCounts returns overview counts

func (*Manager) GetOverviewCSAT

func (m *Manager) GetOverviewCSAT(days int) (json.RawMessage, error)

GetOverviewCSAT returns CSAT metrics for the overview dashboard

func (*Manager) GetOverviewChart

func (m *Manager) GetOverviewChart(days int) (json.RawMessage, error)

GetOverviewChart returns overview chart data

func (*Manager) GetOverviewMessageVolume

func (m *Manager) GetOverviewMessageVolume(days int) (json.RawMessage, error)

GetOverviewMessageVolume returns message volume metrics for the overview dashboard

func (*Manager) GetOverviewSLA

func (m *Manager) GetOverviewSLA(days int) (json.RawMessage, error)

GetOverviewSLA returns overview SLA data

func (*Manager) GetOverviewTagDistribution

func (m *Manager) GetOverviewTagDistribution(days int) (json.RawMessage, error)

GetOverviewTagDistribution returns tag distribution metrics for the overview dashboard

type Opts

type Opts struct {
	DB   *sqlx.DB
	Lo   *logf.Logger
	I18n *i18n.I18n
}

Opts contains options for initializing the report Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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