Test webhook
This commit is contained in:
@@ -14,7 +14,7 @@ type WebhookMessage struct {
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
}
|
||||
|
||||
// WebhookInterface defines the contract for webhook operations
|
||||
type WebhookInterface interface {
|
||||
// Webhook defines the contract for webhook operations
|
||||
type Webhook interface {
|
||||
Post(channel, topic, message string) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user