Package delay implements delayed delivery of stanzas.
- func Insert(d Delay) xmlstream.Transformer
- func Stanza(d Delay, stanzaNS string) xmlstream.Transformer
- type Delay
const NS = "urn:xmpp:delay"
NS is the namespace used by this package.
This section is empty.
Insert adds a delay into any element read through the transformer at the current nesting level.
Delay is a type that can be added to stanzas to indicate that they have been delivered with a delay.
func (Delay) MarshalXML ¶
MarshalXML implements xml.Marshaler.
func (Delay) TokenReader ¶
TokenReader implements xmlstream.Marshaler.
func (*Delay) UnmarshalXML ¶
UnmarshalXML implements xml.Unmarshaler.