Documentation ¶
Index ¶
- Constants
- type Roster
- func (r *Roster) AccountFeatures(_ context.Context) ([]string, error)
- func (r *Roster) MatchesNamespace(namespace string, serverTarget bool) bool
- func (r *Roster) Name() string
- func (r *Roster) ProcessIQ(ctx context.Context, iq *stravaganza.IQ) error
- func (r *Roster) ServerFeatures(_ context.Context) ([]string, error)
- func (r *Roster) Start(_ context.Context) error
- func (r *Roster) Stop(_ context.Context) error
- func (r *Roster) StreamFeature(_ context.Context, _ string) (stravaganza.Element, error)
Constants ¶
View Source
const (
// ModuleName represents roster module name.
ModuleName = "roster"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Roster ¶
type Roster struct {
// contains filtered or unexported fields
}
Roster represents a roster module type.
func New ¶
func New( router router.Router, rep repository.Repository, resMng *c2s.ResourceManager, hosts *host.Hosts, sonar *sonar.Sonar, ) *Roster
New returns a new initialized Roster instance.
func (*Roster) AccountFeatures ¶ added in v0.52.2
AccountFeatures returns roster account disco features.
func (*Roster) MatchesNamespace ¶ added in v0.52.2
MatchesNamespace tells whether namespace matches roster module.
func (*Roster) ServerFeatures ¶ added in v0.52.2
ServerFeatures returns roster server disco features.
Click to show internal directories.
Click to hide internal directories.