Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Components ¶ added in v0.3.4
type Components struct {
// contains filtered or unexported fields
}
Components represents a set of preconfigured components.
func New ¶ added in v0.3.4
func New(config *Config, discoInfo *xep0030.DiscoInfo) *Components
New returns a set of components derived from a concrete configuration.
func (*Components) Get ¶ added in v0.3.4
func (cs *Components) Get(host string) Component
Get returns a specific component associated to host name.
func (*Components) GetAll ¶ added in v0.3.4
func (cs *Components) GetAll() []Component
GetAll returns all initialized components.
Click to show internal directories.
Click to hide internal directories.