xep0054

package
Version: 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 VCard

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

VCard represents a vCard server stream module.

func New

func New(disco *xep0030.DiscoInfo, router router.Router, rep repository.VCard) *VCard

New returns a vCard IQ handler module.

func (*VCard) MatchesIQ

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

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

func (*VCard) ProcessIQ

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

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

func (*VCard) Shutdown

func (x *VCard) Shutdown() error

Shutdown shuts down vCard module.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL