package
2.12.0+incompatible
Repository: https://github.com/adguardteam/adguarddns.git
Documentation: pkg.go.dev

# Functions

NewRuntimeRecorder creates a new runtime billing statistics database.

# Structs

EmptyMetrics is the implementation of the [Metrics] interface that does nothing.
EmptyRecorder is a billing statistics recorder that does nothing.
Record is a single billing statistics Record.
RuntimeRecorder is the runtime billing statistics recorder.
RuntimeRecorderConfig is the configuration structure for a runtime billing statistics recorder.

# Interfaces

Metrics is an interface that is used for the collection of the billing statistics.
Recorder is the billing statistics recorder interface.
Uploader is the interface for a backend that accepts the billing statistics records.

# Type aliases

Records is a helpful alias for a mapping of devices to their billing statistics records.