Commit Graph

11 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
Mickael Remond
4d015e5b29
With go modules, we should be able to remove import comments 2019-06-18 16:28:30 +02:00
Theo McGinley
e1cb9ac037 Parse show, status, and priority of presence stanzas as child elements instead of attributes 2019-02-09 14:18:37 +00: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
7e50d313ea
Improve presence / message test 2018-01-25 11:00:20 +01:00
Mickael Remond
7ae2adca9f
Adds support for error element on message and presence 2018-01-23 09:10:10 +01:00
Mickael Remond
8cb1e1264e
Clean-up 2018-01-23 09:08:21 +01:00
Mickael Remond
10219ec1e6
Refactor parsing / improve typing 2018-01-13 18:50:17 +01:00
Mickael Remond
01063ec284
Refactor attributes name 2018-01-13 17:54:07 +01:00
Mickael Remond
710174b165
Moving XMPP library to Fluux project 2018-01-01 18:12:33 +01:00