Commit Graph

12 Commits (d9fdff08395b92c41b38bf57d9777b417d024bbe)

Author SHA1 Message Date
genofire d9fdff0839 Add constants (enumlike) for stanza types and simplify packet creation (#62)
* Add constants (enumlike) for stanza types
* NewIQ, NewMessage and NewPresence are now initialized with the Attrs struct
* Update examples
* Do not export backoff code. For now, we do not need to expose backoff in the documentation
* Make presence priority an int8
5 years ago
Mickael Remond 4d015e5b29
With go modules, we should be able to remove import comments 5 years ago
Mickael Remond b05e68c844 Add router to make it easier to set up routing info
- Using the router, the dispatch is not done anymore by receiving from
  receive channel, but by registering callback functions in routers,
  with matchers.
- Make IQPayload a real interface to make it easier to match namespaces.
- The StreamManager Run command is now blocking, waiting for StreamManager
  to terminate.
5 years ago
Mickael Remond 709a95129e
Clean up and fix StartTLS feature discovery
Required field was never set to true
5 years ago
Mickael Remond 2d8d4516fd
Handling basic unrecoverable errors
Fix #43
5 years ago
Mickael Remond 7a4364be95 Refactor / clean up registry 5 years ago
Mickael Remond f45829916c Add tool to check XMPP certificate on starttls
Minor refactoring
5 years ago
Mickael Remond 5eae7f4ef7
Move project to gosrc.io/xmpp
The URL will be more permanent as this is a place we dedicate as short URL for our go projects.
6 years ago
Mickael Remond d33490cdc0
Work-in-progress on dynamic IQ parsing 6 years ago
Mickael Remond ec95020ac2
Fix failing test 6 years ago
Mickael Remond 10219ec1e6
Refactor parsing / improve typing 6 years ago
Mickael Remond 710174b165
Moving XMPP library to Fluux project 7 years ago