Documentation
¶
Index ¶
- func Create(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)
- func Delete(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)
- func HandleSubrouter(s *mux.Router, confhandler *respond.ConfHandler)
- func List(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)
- func Options(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)
- type Downtime
- type Downtimes
- type Links
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleSubrouter ¶
func HandleSubrouter(s *mux.Router, confhandler *respond.ConfHandler)
HandleSubrouter uses the subrouter for a specific calls and creates a tree of sorts handling each route with a different subrouter
Types ¶
type Downtime ¶
type Downtime struct {
HostName string `bson:"hostname" json:"hostname"`
Service string `bson:"service" json:"service"`
StartTime string `bson:"start_time" json:"start_time"`
EndTime string `bson:"end_time" json:"end_time"`
Description string `bson:"description" json:"description,omitempty"`
Classification string `bson:"classification" json:"classification,omitempty"`
Severity string `bson:"severity" json:"severity,omitempty"`
}
Downtime holds downtime information for a specific host
Click to show internal directories.
Click to hide internal directories.