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

package google

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

Index

Package Files

google_handler.go

Variables

var (
    // GoogleUrl the API address for Google Domains
    GoogleUrl = "https://domains.google.com/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 google imports 9 packages (graph) and is imported by 1 packages. Updated 2019-09-14. Refresh now. Tools for package owners.