mattermost

package
v0.0.0-...-dd242e5 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

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