Commit Graph

9 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 7a4364be95 Refactor / clean up registry 5 years ago
Mickael Remond b05efea81d Quick prototype of message extension
This is a work-in-progress, needs refactor.
5 years ago
Mickaël Rémond 23a710b36f
Update message_test.go 5 years ago
Mickaël Rémond ffcde39ba6
Add test (and refactor them) for PR#15 (#18)
* Add test (and refactor them) for #15
* Update Dockerfile to support Go modules on Codeship
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 ca148e5fe5
Improve code documentation 6 years ago
Mickael Remond 7e50d313ea
Improve presence / message test 6 years ago
Mickael Remond 28fb5bf61b
Add basic test for messages 6 years ago