bslack

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *bridge.Config) bridge.Bridger

Types

type Bslack added in v0.7.0

type Bslack struct {
	Users      []slack.User
	Usergroups []slack.UserGroup

	*bridge.Config
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*Bslack) Command added in v0.7.0

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

func (*Bslack) Connect added in v0.7.0

func (b *Bslack) Connect() error

func (*Bslack) Disconnect added in v0.9.3

func (b *Bslack) Disconnect() error

func (*Bslack) JoinChannel added in v0.7.0

func (b *Bslack) JoinChannel(channel config.ChannelInfo) error

func (*Bslack) Reload added in v1.9.0

func (b *Bslack) Reload(cfg *bridge.Config) (string, error)

func (*Bslack) Send added in v0.7.0

func (b *Bslack) Send(msg config.Message) (string, error)

Jump to

Keyboard shortcuts

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