privatexml

package
v0.0.0-...-2de8dec Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package privatexml implements storage of arbitrary data on the server.

New uses of this package should likely use mellium.im/xmpp/pubsub instead unless backwards compatibility with other legacy specifications is desired.

Index

Constants

View Source
const NS = `jabber:iq:private`

NS is the namespace used by this package.

Variables

This section is empty.

Functions

func Get

Get requests XML that was previously stored on the server.

func GetIQ

GetIQ is like Get except that the IQ stanza can be customized. Changing the type of the stanza has no effect.

func Set

Set stores the XML copied from r on the server for later retrieval.

func SetIQ

func SetIQ(ctx context.Context, iq stanza.IQ, s *xmpp.Session, r xml.TokenReader) error

SetIQ is like Set except that the IQ stanza can be customized. Changing the type of the stanza has no effect.

Types

This section is empty.

Jump to

Keyboard shortcuts

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