bxmpp

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bxmpp

type Bxmpp struct {
	Config *config.Protocol

	Remote chan config.Message
	// contains filtered or unexported fields
}

func New

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

func (*Bxmpp) Connect

func (b *Bxmpp) Connect() error

func (*Bxmpp) FullOrigin added in v0.7.0

func (b *Bxmpp) FullOrigin() string

func (*Bxmpp) JoinChannel added in v0.7.0

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

func (*Bxmpp) Name

func (b *Bxmpp) Name() string

func (*Bxmpp) Origin added in v0.7.0

func (b *Bxmpp) Origin() string

func (*Bxmpp) Protocol added in v0.7.0

func (b *Bxmpp) Protocol() string

func (*Bxmpp) Send

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

Jump to

Keyboard shortcuts

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