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

package google

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


Package Files



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 2020-03-29. Refresh now. Tools for package owners.