Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DynDnsRequest ¶
func DynDnsRequest(w http.ResponseWriter, r *http.Request) error
Types ¶
type DynDnsError ¶
type DynDnsError struct {
Code DynDnsErrorCode
}
func (*DynDnsError) Error ¶
func (dynDnsError *DynDnsError) Error() string
type DynDnsErrorCode ¶
type DynDnsErrorCode string
const ( BadAuth DynDnsErrorCode = "badauth" NotFQDN DynDnsErrorCode = "notfqdn" NoHost DynDnsErrorCode = "nohost" NumHost DynDnsErrorCode = "numhost" Abuse DynDnsErrorCode = "abuse" BadAgent DynDnsErrorCode = "badagent" DNSErr DynDnsErrorCode = "dnserr" Error911 DynDnsErrorCode = "911" )
type DynDnsHandler ¶
type DynDnsHandler struct {
DynDnsRequest func(w http.ResponseWriter, r *http.Request) error
}
func (DynDnsHandler) ServeHTTP ¶
func (handler DynDnsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.