Documentation
¶
Index ¶
Constants ¶
View Source
const ErrorKey = "error"
View Source
const SubsystemKey = "subsys"
View Source
const SubsystemPrefix = "dyndns"
Variables ¶
This section is empty.
Functions ¶
func MakePromSubsystem ¶
func SubsystemAttr ¶
Types ¶
type PollStatus ¶
type PushStatus ¶
type Status ¶
type Status struct { Push *PushStatus `json:"push"` Poll *PollStatus `json:"poll"` Updates []*UpdateStatus `json:"updates"` }
type TokenHandler ¶
type TokenHandler struct {
// contains filtered or unexported fields
}
func NewTokenHandler ¶
func NewTokenHandler(h http.Handler, token string) TokenHandler
func (TokenHandler) ServeHTTP ¶
func (t TokenHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
Click to show internal directories.
Click to hide internal directories.