Commit Graph

17 Commits (master)

Author SHA1 Message Date
rcorniere e59a86c380 Refactor tests 4 years ago
remicorniere 1822089db6 Tests for Component and code style fixes (#129)
* Tests for Component and code style fixes
5 years ago
Mickael Remond 4f68c5eee2 Add X-OAUTH2 authentication and example 5 years ago
Mickael Remond 9c8353d081 Introduce Credential structure to define auth type
For now we are planning to support Password and OAuthToken.
In the future, we would like to add certificate-based authentication.
5 years ago
Mickael Remond 428787d7ab
Refactor and move parsing and stanza to a separate package 5 years ago
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.
5 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 6 years ago