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
a6cbc0c08f
Properly decode an IQ with both a payload and an error
5 years ago
Mickael Remond
24502f7cd7
Expand test
5 years ago
Mickael Remond
af0ae525b8
An IQ can only have a single payload
...
"An IQ stanza of type "get" or "set" MUST contain exactly one
child element, which specifies the semantics of the particular
request."
5 years ago
genofire
355401aa84
wrong package import url let it failed
5 years ago
Mickael Remond
322a6594e7
Fix missing entry in payload registry
5 years ago
Mickael Remond
80d8d6d231
Apply namespace fixes from #33
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.
5 years ago
Mickael Remond
266ed9b1e4
Do not marshal 'empty' error elements
6 years ago
Mickael Remond
2cd8eed765
Implement disco#items parsing and marshaling
6 years ago
Mickael Remond
8470c01c09
Implement error parsing
6 years ago
Mickael Remond
bbfafbb32c
Clean-up / Consistency
6 years ago
Mickael Remond
993ca630f7
Test and code refactor
6 years ago
Mickael Remond
d33490cdc0
Work-in-progress on dynamic IQ parsing
6 years ago
Mickael Remond
c821267928
Do not repeat xmlns in attributes on parsing
6 years ago
Mickael Remond
dade3504f0
Improve generic IQ parsing
6 years ago
Mickael Remond
10219ec1e6
Refactor parsing / improve typing
6 years ago
Mickael Remond
01063ec284
Refactor attributes name
6 years ago
Mickael Remond
710174b165
Moving XMPP library to Fluux project
6 years ago