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)
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 TimestampFunc ¶
Click to show internal directories.
Click to hide internal directories.