Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.3.0
type Config struct { Enabled map[string]struct{} Roster roster.Config Offline offline.Config Registration xep0077.Config Version xep0092.Config Ping xep0199.Config }
Config represents C2S modules configuration.
func (*Config) UnmarshalYAML ¶ added in v0.3.0
UnmarshalYAML satisfies Unmarshaler interface.
type IQHandler ¶
type IQHandler interface { Module // MatchesIQ returns whether or not an IQ should be // processed by the module. MatchesIQ(iq *xml.IQ) bool // ProcessIQ processes a module IQ taking according actions // over the associated stream. ProcessIQ(iq *xml.IQ) }
IQHandler represents an IQ handler module.
Click to show internal directories.
Click to hide internal directories.