godns: github.com/TimothyYe/godns/handler/he Index | Files

package he

import "github.com/TimothyYe/godns/handler/he"


Package Files



var (
    // HEUrl the API address for he.net
    HEUrl = "https://dyn.dns.he.net/nic/update"

type Handler Uses

type Handler struct {
    Configuration *godns.Settings

Handler struct

func (*Handler) DomainLoop Uses

func (handler *Handler) DomainLoop(domain *godns.Domain, panicChan chan<- godns.Domain)

DomainLoop the main logic loop

func (*Handler) SetConfiguration Uses

func (handler *Handler) SetConfiguration(conf *godns.Settings)

SetConfiguration pass dns settings and store it to handler instance

func (*Handler) UpdateIP Uses

func (handler *Handler) UpdateIP(domain, subDomain, currentIP string)

UpdateIP update subdomain with current IP

Package he imports 9 packages (graph) and is imported by 1 packages. Updated 2020-03-29. Refresh now. Tools for package owners.