package
0.0.2
Repository: https://github.com/jynychen/adguardhome.git
Documentation: pkg.go.dev

# Functions

New creates s from conf and properly initializes it.

# Constants

Supported Result values.
Supported Result values.
Supported Result values.
Supported Result values.
Supported Result values.

# Structs

Config is the configuration structure for the statistics collecting.
Entry
Entry is a statistics data entry.
StatsCtx collects the statistics and flushes it to the database.
StatsResp is a response to the GET /control/stats.

# Interfaces

Interface is the statistics interface to be used by other packages.

# Type aliases

Result is the resulting code of processing the DNS request.
UnitIDGenFunc is the signature of a function that generates a unique ID for the statistics unit.