xep0191

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockingCommand

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

BlockingCommand returns a blocking command IQ handler module.

func New

func New(disco *xep0030.DiscoInfo, roster *roster.Roster, router *router.Router) *BlockingCommand

New returns a blocking command IQ handler module.

func (*BlockingCommand) MatchesIQ

func (x *BlockingCommand) MatchesIQ(iq *xmpp.IQ) bool

MatchesIQ returns whether or not an IQ should be processed by the blocking command module.

func (*BlockingCommand) ProcessIQ

func (x *BlockingCommand) ProcessIQ(iq *xmpp.IQ)

ProcessIQ processes a blocking command IQ taking according actions over the associated stream.

func (*BlockingCommand) Shutdown added in v0.4.0

func (x *BlockingCommand) Shutdown() error

Shutdown shuts down blocking module.

Jump to

Keyboard shortcuts

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