app

package
v0.0.0-...-e920d93 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_CLIENT_TIMEOUT = "300s"
View Source
const DEFAULT_DATABASE_NAME = "weezing.db"
View Source
const DEFAULT_MAX_AGE = 24
View Source
const DEFAULT_WORKDIR = "./"
View Source
const KEY_SOA = "soa"

Variables

This section is empty.

Functions

func ModifyTimestampFunc

func ModifyTimestampFunc(fptr TimestampFunc)

func Run

func Run() int

Types

type Application

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

application context

type Config

type Config struct {
	Nameserver string `validate:"required,fqdn|ip4_addr"`
	Port       string `validate:"required,numeric"`
	Query      string `validate:"required"`
	MaxAge     int64  `validate:"gte=0"`
	Debug      bool
	Quiet      bool
}
var C Config

type RRChange

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

type TimestampFunc

type TimestampFunc func() time.Time

Jump to

Keyboard shortcuts

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