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

package duck

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


Package Files



var (
    // DuckUrl the API address for Duck DNS
    DuckUrl = "https://www.duckdns.org/update?domains=%s&token=%s&%s"

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

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