Documentation ¶
Index ¶
- func Accept443(ln net.Listener, wg *sync.WaitGroup, restart <-chan bool)
- func Accept80(ln net.Listener)
- func AcceptDNS(wg *sync.WaitGroup)
- func CheckTLSExpiry(days int) (bool, int)
- func CheckUpdate(version string, githubVersion string, githubURL string) (bool, error)
- func GetDomains() []string
- func GetFirstDomain() string
- func GiveHead(colour int)
- func GuessIP(domain string) (string, error)
- func HandleDNS(w dns.ResponseWriter, r *dns.Msg, EXT_IP string)
- func HeartBeat(version string, firstrun bool) (bool, error)
- func IsDeprecated(old string, new string, version string)
- func IsIP(str string) bool
- func IsIPv4(str string) bool
- func IsIPv6(str string) bool
- func Listen443() net.Listener
- func Listen80() net.Listener
- func LoadAllowlist() (bool, error)
- func LoadBlacklist() (bool, error)
- func LoadDomains(domainList string) error
- func LoadZone() (bool, error)
- func Printy(msg string, col int)
- func SignLark(secret string, timestamp int64) (string, error)
- func StartLetsEncrypt()
- func StartMaintenance(version string, githubVersion string, githubURL string)
- func TLSmonitor(restart chan bool)
- func UsageStats(version string) bool
- type Config
- type DNSProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckTLSExpiry ¶
func CheckUpdate ¶
func GetDomains ¶
func GetDomains() []string
func GetFirstDomain ¶
func GetFirstDomain() string
func IsDeprecated ¶ added in v3.4.6
func LoadAllowlist ¶
func LoadBlacklist ¶
func LoadDomains ¶
func StartLetsEncrypt ¶
func StartLetsEncrypt()
func StartMaintenance ¶
func TLSmonitor ¶
func TLSmonitor(restart chan bool)
func UsageStats ¶
Types ¶
type Config ¶
Config is used to configure the creation of the DNSProvider.
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
NewDefaultConfig returns a default configuration for the DNSProvider.
type DNSProvider ¶
type DNSProvider struct {
// contains filtered or unexported fields
}
DNSProvider implements the challenge.Provider interface.
func NewDNSProvider ¶
func NewDNSProvider() (*DNSProvider, error)
func NewDNSProviderConfig ¶
func NewDNSProviderConfig(config *Config) (*DNSProvider, error)
func (*DNSProvider) CleanUp ¶
func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error
CleanUp removes the TXT record matching the specified parameters.
func (*DNSProvider) Present ¶
func (d *DNSProvider) Present(domain, token, keyAuth string) error
Present creates a TXT record to fulfill the dns-01 challenge.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.