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

package duck

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

Index

Package Files

duck_handler.go

Variables

var (
    // DuckUrl the API address for Duck DNS
    DuckUrl = "https://www.duckdns.org/update?domains=%s&token=%s&ip=%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 6 packages (graph) and is imported by 1 packages. Updated 2019-08-28. Refresh now. Tools for package owners.