xep0049

package
v0.0.0-...-aeec266 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Private

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

Private represents a private storage server stream module.

func New

func New(router router.Router, privRep repository.Private) *Private

New returns a private storage IQ handler module.

func (*Private) MatchesIQ

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

MatchesIQ returns whether or not an IQ should be processed by the private storage module.

func (*Private) ProcessIQ

func (x *Private) ProcessIQ(ctx context.Context, iq *xmpp.IQ)

ProcessIQ processes a private storage IQ taking according actions over the associated stream.

func (*Private) Shutdown

func (x *Private) Shutdown() error

Shutdown shuts down private storage module.

Jump to

Keyboard shortcuts

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