Commit graph

10 commits

Author SHA1 Message Date
Mickael Remond 4a4c4850d1
Add msg.Get method to match and extract message extensions 2019-06-22 18:36:16 +02:00
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 7a4364be95 Refactor / clean up registry 2019-06-04 18:47:44 +02:00
Mickael Remond b05efea81d Quick prototype of message extension
This is a work-in-progress, needs refactor.
2019-06-04 18:47:44 +02:00
Mickaël Rémond 23a710b36f
Update message_test.go 2019-05-16 18:03:12 +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
Mickael Remond 28fb5bf61b
Add basic test for messages 2018-01-24 09:38:02 +01:00