Documentation ¶
Index ¶
Constants ¶
View Source
const ( SinkTypeSlack = SinkType("slack") SinkTypeMattermost = SinkType("mattermost") SinkTypeTeams = SinkType("microsoft_teams") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mattermost ¶
type Mattermost struct {
// contains filtered or unexported fields
}
func NewMattermostSink ¶
func NewMattermostSink(ctx context.Context, config MattermostConfig) (*Mattermost, error)
func (*Mattermost) ForwardEvent ¶
func (m *Mattermost) ForwardEvent(payload *Payload) error
type MattermostConfig ¶
type MattermostConfig struct { }
type Payload ¶
type Sink ¶
type Slack ¶
type Slack struct { SinkType SinkType // contains filtered or unexported fields }
func NewSlackSink ¶
func NewSlackSink(ctx context.Context, config SlackConfig) (*Slack, error)
func (*Slack) ForwardEvent ¶
Click to show internal directories.
Click to hide internal directories.