agdc

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package agdc contains some types and functions commonly used in AdGuardDNS Client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpstreamGroupName

type UpstreamGroupName string

UpstreamGroupName is a type for the name of an upstream group.

TODO(e.burkov): Add validation method, consider using the rules for prometheus labels.

const (
	// UpstreamGroupNameDefault is the reserved name for an upstream group that
	// matches all requests and must appear in the configuration.
	UpstreamGroupNameDefault UpstreamGroupName = "default"

	// UpstreamGroupNamePrivate is the reserved name for an upstream group that
	// matches private reverse DNS requests and must appear in the
	// configuration.
	UpstreamGroupNamePrivate UpstreamGroupName = "private"
)

Jump to

Keyboard shortcuts

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