slack

package
v0.0.0-...-0637115 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

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) Description

func (x *Slack) Description() string

Description: Plugin description

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

func (x *Slack) SampleConfig() string

SampleConfig return plugin sample config

func (*Slack) Start

func (x *Slack) Start(e chan transistor.Event) error

Start plugin

func (*Slack) Stop

func (x *Slack) Stop()

Stop spins slack down

func (*Slack) Subscribe

func (x *Slack) Subscribe() []string

Subscribe to events

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL