Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDomain ¶
CheckDomain checks if a domain is accessible
func FormatWebhookPayload ¶
func FormatWebhookPayload(payload WebhookPayload) string
FormatWebhookPayload returns a formatted string representation of the payload
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor handles continuous service monitoring
func NewMonitor ¶
NewMonitor creates a new service monitor
func (*Monitor) SetServiceFilter ¶ added in v0.4.1
type WebhookPayload ¶
type WebhookPayload struct {
Event string `json:"event"`
Timestamp time.Time `json:"timestamp"`
Project string `json:"project"`
Service string `json:"service"`
Server string `json:"server"`
Details map[string]interface{} `json:"details"`
Severity string `json:"severity"`
}
WebhookPayload represents the structure sent to webhook endpoints
Click to show internal directories.
Click to hide internal directories.