Documentation ¶
Index ¶
- type Slack
- func (x *Slack) Description() string
- func (x *Slack) HandleCreateExtension(e *transistor.Event) error
- func (x *Slack) HandleSendNotification(e *transistor.Event) error
- func (x *Slack) Process(e transistor.Event) error
- func (x *Slack) SampleConfig() string
- func (x *Slack) Start(e chan transistor.Event) error
- func (x *Slack) Stop()
- func (x *Slack) Subscribe() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Slack ¶
type Slack struct {
// contains filtered or unexported fields
}
Slack is a local struct for slack plugin
func (*Slack) HandleCreateExtension ¶
func (x *Slack) HandleCreateExtension(e *transistor.Event) error
func (*Slack) HandleSendNotification ¶
func (x *Slack) HandleSendNotification(e *transistor.Event) error
func (*Slack) Process ¶
func (x *Slack) Process(e transistor.Event) error
Process slack webhook events
func (*Slack) SampleConfig ¶
SampleConfig return plugin sample config
Click to show internal directories.
Click to hide internal directories.