Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config represents XMPP Ping module (XEP-0199) configuration.
func (*Config) UnmarshalYAML ¶ added in v0.3.2
UnmarshalYAML satisfies Unmarshaler interface.
type Ping ¶
type Ping struct {
// contains filtered or unexported fields
}
Ping represents a ping server stream module.
func (*Ping) CancelPing ¶ added in v0.3.2
CancelPing cancels a previous scheduled ping.
func (*Ping) MatchesIQ ¶
MatchesIQ returns whether or not an IQ should be processed by the ping module.
func (*Ping) ProcessIQ ¶
ProcessIQ processes a ping IQ taking according actions over the associated stream.
func (*Ping) SchedulePing ¶ added in v0.3.2
SchedulePing schedules a new ping in a 'send interval' period, cancelling previous scheduled ping.
Click to show internal directories.
Click to hide internal directories.