Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeA = "A" TypeLB = "LB" )
View Source
const ( DefaultSimultaneousConnections = 16384 DefaultMaxConnectionsPerAddress = 32768 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type A ¶
type A struct { Addresses []net.IP `record:"addresses"` TTL uint32 `record:"ttl,optional"` HealthCheck []*healthcheck.HealthCheck `record:"healthcheck,optional"` }
type LB ¶
type LB struct { Listeners []string `record:"listeners"` Kind string `record:"kind"` Backends []string `record:"backends"` SimultaneousConnections int `record:"simultaneous_connections,optional"` MaxConnectionsPerAddress int `record:"max_connections_per_address,optional"` ConnectionTimeout time.Duration `record:"connection_timeout,optional"` TTL uint32 `record:"ttl,optional"` TLS *TLSLB `record:"tls,optional"` HealthCheck []*healthcheck.HealthCheck `record:"healthcheck,optional"` }
type Record ¶
An attempt to normalize record management so it can be addressed in a generic way in the server. Convert() turns it into a []dns.RR in all cases, required for different record types to be implemented manually.
Honestly it kind of sucks, but no generics soooooo...
Click to show internal directories.
Click to hide internal directories.