Versions in this module Expand all Collapse all v1 v1.0.39 Oct 28, 2026 v1.0.38 Oct 20, 2026 Changes in this version + const MaxRetryAttempts + func ValidateTemplate(tmplStr string) error + type Config struct + Headers map[string]string + MaxRetries int + PayloadTemplate string + RetryDelayMs int + Secret string + TimeoutMs int + URL string + type Payload struct + Data map[string]any + Event string + Server *ServerPayload + Timestamp time.Time + func BuildPayload(event string, server *storage.Server, data map[string]any) *Payload + type Result struct + Attempts int + DurationMs int64 + ErrorMessage string + ResponseBody string + ResponseCode int + Success bool + func Deliver(ctx context.Context, cfg Config, payload *Payload) Result + type ServerPayload struct + ID string + MCVersion string + MaxPlayers int + ModLoader string + Name string + Players int + Port int + Status string