bgitter

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2017 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bgitter

type Bgitter struct {
	Config  *config.Protocol
	Remote  chan config.Message
	Account string
	User    *gitter.User
	Users   []gitter.User
	Rooms   []gitter.Room
	// contains filtered or unexported fields
}

func New

func New(cfg config.Protocol, account string, c chan config.Message) *Bgitter

func (*Bgitter) Connect

func (b *Bgitter) Connect() error

func (*Bgitter) Disconnect added in v0.9.3

func (b *Bgitter) Disconnect() error

func (*Bgitter) JoinChannel added in v0.7.0

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

func (*Bgitter) Send

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

Jump to

Keyboard shortcuts

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