Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mattermost ¶
type Mattermost struct { Url string `long:"mattermost.url" description:"Mattermost server URL"` Token string `long:"mattermost.token" description:"Mattermost authentication token"` Channel string `long:"mattermost.channel" description:"Name of the channel to which messages should be sent"` Prefix string `long:"mattermost.prefix" description:"Prefix for every message"` // contains filtered or unexported fields }
func (*Mattermost) Init ¶
func (m *Mattermost) Init() error
func (*Mattermost) Name ¶
func (m *Mattermost) Name() string
func (*Mattermost) SendMessage ¶
func (m *Mattermost) SendMessage(message string) error
Click to show internal directories.
Click to hide internal directories.