Commit Graph

14 Commits (8e1dac6ffae0f80e9f57662fa08a46e9a012e250)

Author SHA1 Message Date
Wichert Akkerman 8e1dac6ffa Add IQ result routes to the Router
5 years ago
Wichert Akkerman 7b1f83f6b7 Expose Route.AddMatcher
5 years ago
Mickael Remond 428787d7ab
Refactor and move parsing and stanza to a separate package
5 years ago
Mickael Remond 83f96fbd41 Fix error code
5 years ago
Mickael Remond 1542110f1b If there is no match in router, properly send not-implemented reply for iq set & get
5 years ago
Mickael Remond d6d371df4d Do not export Router.route as it is not supposed to be called directly
5 years ago
Mickael Remond e9c704eff5
Fix router after #62 merge
5 years ago
Mickaël Rémond 145fce6b3f
Add StanzaType matcher / Clarify empty route behaviour (#65)
5 years ago
Mickael Remond af0ae525b8 An IQ can only have a single payload
5 years ago
Mickael Remond 4d015e5b29
With go modules, we should be able to remove import comments
5 years ago
Mickael Remond 28ae759144
Fix import path
5 years ago
Mickael Remond c6f0d03f60 Add support for delegation namespace packet parsing
5 years ago
Mickael Remond 9db33d5792 Introduce Sender interface to abstract client sending in router handlers
5 years ago
Mickael Remond b05e68c844 Add router to make it easier to set up routing info
5 years ago