Documentation ¶
Index ¶
- func ExecutePowerDNSRequest(method, url, apitoken string, body io.Reader) (string, error)
- func GetHostAndPortFromURL(url string) (string, error)
- func GetHostnameFromURL(url string) (string, error)
- func GetZoneIDFromRequest(r *http.Request) (string, error)
- func IsStatusCodeSuccesful(statuscode int) bool
- type HTTPResponseStatusWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecutePowerDNSRequest ¶
func GetHostAndPortFromURL ¶
func GetHostnameFromURL ¶
func IsStatusCodeSuccesful ¶
Types ¶
type HTTPResponseStatusWriter ¶
type HTTPResponseStatusWriter struct { http.ResponseWriter Status int }
func (*HTTPResponseStatusWriter) WriteHeader ¶
func (h *HTTPResponseStatusWriter) WriteHeader(status int)
Click to show internal directories.
Click to hide internal directories.