package
module
Version:
v0.0.0-...-98f9cb7
Opens a new window with list of versions in this module.
Published: Nov 2, 2019
License: Unlicense
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
UpdateDDNS is an HTTP Cloud Function with a request parameter.
type Request struct {
IPAddress string `json:"IPAddress"`
DNSName string `json:"DNSName"`
APIToken string `json:"APIToken"`
}
Request is the expected struct we want as a request
type Response struct {
Status string `json:"status"`
Additions int `json:"additions"`
Deletions int `json:"deletions,omitempty"`
}
Response is the response we expect to return
Source Files
¶
Click to show internal directories.
Click to hide internal directories.