Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webhook ¶
type Webhook struct {
Url string
}
Webhook handler implements handler.Handler interface, Notify event to Webhook channel
func (*Webhook) ObjectCreated ¶
func (m *Webhook) ObjectCreated(obj interface{})
func (*Webhook) ObjectDeleted ¶
func (m *Webhook) ObjectDeleted(obj interface{})
func (*Webhook) ObjectUpdated ¶
func (m *Webhook) ObjectUpdated(oldObj, newObj interface{})
type WebhookMessage ¶
type WebhookMessage struct {
Text string `json:"text"`
}
Click to show internal directories.
Click to hide internal directories.