Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Versioning bool `yaml:"versioning"`
}
Config represents a roster configuration.
type Roster ¶
type Roster struct {
// contains filtered or unexported fields
}
Roster represents a roster server stream module.
func New ¶
func New(cfg *Config, presenceHub *presencehub.PresenceHub, pep *xep0163.Pep, router *router.Router) *Roster
New returns a roster server stream module.
func (*Roster) MatchesIQ ¶
MatchesIQ returns whether or not an IQ should be processed by the roster module.
func (*Roster) ProcessIQ ¶
ProcessIQ processes a roster IQ taking according actions over the associated stream.
func (*Roster) ProcessPresence ¶
ProcessPresence process an incoming roster presence.
Click to show internal directories.
Click to hide internal directories.