bmattermost

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bmattermost

type Bmattermost struct {
	MMhook
	MMapi
	Config *config.Protocol
	Remote chan config.Message

	TeamId string
	// contains filtered or unexported fields
}

func New

func New(cfg config.Protocol, origin string, c chan config.Message) *Bmattermost

func (*Bmattermost) Command

func (b *Bmattermost) Command(cmd string) string

func (*Bmattermost) Connect

func (b *Bmattermost) Connect() error

func (*Bmattermost) FullOrigin added in v0.7.0

func (b *Bmattermost) FullOrigin() string

func (*Bmattermost) JoinChannel added in v0.7.0

func (b *Bmattermost) JoinChannel(channel string) error

func (*Bmattermost) Name

func (b *Bmattermost) Name() string

func (*Bmattermost) Origin added in v0.7.0

func (b *Bmattermost) Origin() string

func (*Bmattermost) Protocol added in v0.7.0

func (b *Bmattermost) Protocol() string

func (*Bmattermost) Send

func (b *Bmattermost) Send(msg config.Message) error

type MMMessage

type MMMessage struct {
	Text     string
	Channel  string
	Username string
}

type MMapi

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

type MMhook

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

Jump to

Keyboard shortcuts

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