changeset 60 | 6d4f43f7dc19 |
parent 59 | be6815a9653a |
child 61 | 16513974d273 |
--- a/structs.go Sat Jan 07 20:41:16 2012 -0700 +++ b/structs.go Sat Jan 07 21:20:23 2012 -0700 @@ -530,6 +530,10 @@ return stan, nil } +var bindExt Extension = Extension{StanzaHandlers: + map[string] func(*xml.Name) interface{}{NsBind: newBind}, + Start: func(cl *Client) {}} + func newBind(name *xml.Name) interface{} { return &bindIq{} }