conf

package
v0.0.0-...-1711327 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	Listen      ListenConf `yaml:"listen"`
	DB          string     `yaml:"db"`
	Master      bool       `yaml:"master"`
	GeoIP       string     `yaml:"geoip"`
	MetricsAuth string     `yaml:"metricsAuth"`
	Soa         SoaConf    `yaml:"soa"`
}

type ListenConf

type ListenConf struct {
	Dns string `yaml:"dns"`
	Api string `yaml:"api"`
}

type SoaConf

type SoaConf struct {
	Ns      []string `yaml:"ns"`
	Mbox    string   `yaml:"mbox"`
	Refresh uint32   `yaml:"refresh"`
	Retry   uint32   `yaml:"retry"`
	Expire  uint32   `yaml:"expire"`
	Ttl     uint32   `yaml:"ttl"`
}

Jump to

Keyboard shortcuts

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