Documentation ¶
Index ¶
- type Handler
- func (handler *Handler) DomainLoop(domain *godns.Domain, panicChan chan<- godns.Domain)
- func (handler *Handler) GenerateHeader(content url.Values) url.Values
- func (handler *Handler) GetDomain(name string) int64
- func (handler *Handler) GetSubDomain(domainID int64, name string) (string, string)
- func (handler *Handler) PostData(url string, content url.Values) (string, error)
- func (handler *Handler) SetConfiguration(conf *godns.Settings)
- func (handler *Handler) UpdateIP(domainID int64, subDomainID string, subDomainName string, ip string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler struct definition
func (*Handler) DomainLoop ¶
DomainLoop the main logic loop
func (*Handler) GenerateHeader ¶
GenerateHeader generates the request header for DNSPod API
func (*Handler) GetSubDomain ¶
GetSubDomain returns subdomain by domain id
func (*Handler) SetConfiguration ¶
SetConfiguration pass dns settings and store it to handler instance
Click to show internal directories.
Click to hide internal directories.