mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 21:33:22 +01:00
11 lines
373 B
Go
11 lines
373 B
Go
package model
|
|
|
|
// Webhook holds webhook notification configuration details
|
|
type Webhook struct {
|
|
Enable bool `yaml:"enable,omitempty"`
|
|
Endpoint string `yaml:"endpoint,omitempty"`
|
|
Method string `yaml:"method,omitempty"`
|
|
Headers map[string]string `yaml:"headers,omitempty"`
|
|
Timeout int `yaml:"timeout,omitempty"`
|
|
}
|