equal
deleted
inserted
replaced
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 } |