Move some IQ declaration in their own files

This commit is contained in:
Mickael Remond
2019-06-27 10:22:36 +02:00
parent 0c7e4588c6
commit cb9016693c
5 changed files with 100 additions and 76 deletions
+7
View File
@@ -30,3 +30,10 @@ type ControlSetResponse struct {
func (c *ControlSetResponse) Namespace() string {
return c.XMLName.Space
}
// ============================================================================
// Registry init
func init() {
TypeRegistry.MapExtension(PKTIQ, xml.Name{"urn:xmpp:iot:control", "set"}, ControlSet{})
}