slack

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API added in v0.5.0

type API interface {
	SendMessage(channel string, options ...slack.MsgOption) (string, string, string, error)
}

type Slack

type Slack struct {
	// contains filtered or unexported fields
}

func New

func New(cfg config.ChannelSlack, logger *zap.Logger) (*Slack, error)

func (*Slack) Name

func (m *Slack) Name() string

func (*Slack) Send

func (m *Slack) Send(message *message.Message) error

Jump to

Keyboard shortcuts

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