stats

package
v0.12.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

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

func (*Reporter) Report

func (r *Reporter) Report(
	metrics any,
)

type Service

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

func NewStatsService

func NewStatsService(
	c *config.Config,
) *Service

func (*Service) NewReporter

func (s *Service) NewReporter(
	prefix string,
) *Reporter

func (*Service) Start

func (s *Service) Start() error

func (*Service) Stop

func (s *Service) Stop() error

Jump to

Keyboard shortcuts

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