dyndns

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Username string
	Password string
	// contains filtered or unexported fields
}

func NewServer

func NewServer(out chan<- *net.IP, localIp *net.IP, log *slog.Logger) *Server

func (*Server) Handler

func (s *Server) Handler(w http.ResponseWriter, r *http.Request)

Handler offers a simple HTTP handler func for an HTTP server. It expects the IP address parameters and will relay them towards the CloudFlare updater worker once they get submitted.

Expected parameters can be

"v4" IPv4 address
"v6" IPv6 address
"prefix" IPv6 prefix

see https://service.avm.de/help/de/FRITZ-Box-Fon-WLAN-7490/016/hilfe_dyndns

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL