Commit graph

7 commits

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
2019-06-22 11:13:33 +02:00
Mickael Remond 5d362b505b
Priority is an int 2019-06-20 18:36:57 +02:00
Mickaël Rémond 5d6329f0b4
Update presence_test.go 2019-05-16 18:03:44 +02:00
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
2019-02-10 17:53:18 +01:00
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.
2018-12-26 18:50:01 +01:00
Mickael Remond ca148e5fe5
Improve code documentation 2018-01-25 17:04:19 +01:00
Mickael Remond 7e50d313ea
Improve presence / message test 2018-01-25 11:00:20 +01:00