MCPcopy
hub / github.com/yusing/godoxy / Webhook

Struct Webhook

internal/notif/webhook.go:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
13
14type Webhook struct {
15 ProviderBase
16 Template string `json:"template"`
17 Payload string `json:"payload"`
18 Method string `json:"method"`
19 MIMEType string `json:"mime_type"`
20 ColorMode string `json:"color_mode"`
21}
22
23//go:embed templates/discord.json
24var discordPayload string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected