Documentation
¶
Index ¶
- func GetStatus(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)
- func HandleSubrouter(s *mux.Router, confhandler *respond.ConfHandler)
- func Options(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)
- func PostAck(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)
- func PostAutoCheck(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)
- type AckMongo
- type AutoCheckMongo
- type DataMongo
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleSubrouter ¶
func HandleSubrouter(s *mux.Router, confhandler *respond.ConfHandler)
HandleSubrouter for api access to consistency information
Types ¶
type AutoCheckMongo ¶
type DataMongo ¶
type DataMongo struct {
AutoCheckStatus string `bson:"auto_check_status"`
AutoCheckMsg string `bson:"auto_check_message"`
AutoCheckTimestamp string `bson:"auto_check_timestamp"`
AckStatus string `bson:"ack_status"`
AckMsg string `bson:"ack_message"`
AckTimestamp string `bson:"ack_timestamp"`
AckTimeoutHours int `bson:"ack_timeout_hours"`
}
type Result ¶
type Result struct {
Status string `json:"status"`
Timestamp string `json:"timestamp"`
Message string `json:"message"`
AutoCheckStatus string `json:"auto_check_status,omitempty"`
AutoCheckMsg string `json:"auto_check_mesage,omitempty"`
AutoCheckTimestamp string `json:"auto_check_timestamp,omitempty"`
AckStatus string `json:"ack_status,omitempty"`
AckMsg string `json:"ack_message,omitempty"`
AckTimestamp string `json:"ack_timestamp,omitempty"`
AckTimeoutHours int `json:"ack_timeout_hours,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.