xmpp/structs.go
changeset 158 2d948fcbb5d7
parent 142 0ff033eed887
child 163 3f891f7fe817
equal deleted inserted replaced
157:eadf15a06ff5 158:2d948fcbb5d7
   267 }
   267 }
   268 
   268 
   269 var bindExt Extension = Extension{}
   269 var bindExt Extension = Extension{}
   270 
   270 
   271 func init() {
   271 func init() {
   272 	bindExt.StanzaHandlers = make(map[xml.Name]reflect.Type)
   272 	bindExt.StanzaTypes = make(map[xml.Name]reflect.Type)
   273 	bName := xml.Name{Space: NsBind, Local: "bind"}
   273 	bName := xml.Name{Space: NsBind, Local: "bind"}
   274 	bindExt.StanzaHandlers[bName] = reflect.TypeOf(bindIq{})
   274 	bindExt.StanzaTypes[bName] = reflect.TypeOf(bindIq{})
   275 }
   275 }