Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶
type Common struct { cmd.ServiceConfig UserAgent string IssuerDomain string // DNSTries is the number of times to try a DNS query (that has a temporary error) // before giving up. May be short-circuited by deadlines. A zero value // will be turned into 1. DNSTries int DNSProvider *cmd.DNSProvider `validate:"required_without=DNSStaticResolvers"` // DNSStaticResolvers is a list of DNS resolvers. Each entry must // be a host or IP and port separated by a colon. IPv6 addresses // must be enclosed in square brackets. DNSStaticResolvers []string `validate:"required_without=DNSProvider,dive,hostname_port"` DNSTimeout config.Duration `validate:"required"` DNSAllowLoopbackAddresses bool AccountURIPrefixes []string `validate:"min=1,dive,required,url"` }
Common contains all of the shared fields for a VA and a Remote VA (RVA).
func (*Common) SetDefaultsAndValidate ¶
SetDefaultsAndValidate performs some basic sanity checks on fields stored in the Common struct, defaulting them to a sane value when necessary. This method does mutate the Common struct.
Click to show internal directories.
Click to hide internal directories.