Commit graph

17 commits

Author SHA1 Message Date
Mickael Remond 8f7b4ba8a4 Implement MUC Presence Extension
See #67
2019-06-23 12:21:56 +02:00
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 4d015e5b29
With go modules, we should be able to remove import comments 2019-06-18 16:28:30 +02:00
Mickael Remond 6cdadc95e9
Expose type registry for custom user-defined payload and extensions 2019-06-05 10:23:18 +02:00
Mickaël Rémond 4e597505f4
Remove unused import 2019-06-04 19:38:15 +02:00
Martin/Geno 15ceab9fc4 easy xmlformat output 2019-06-04 19:11:46 +02:00
Mickael Remond 7a4364be95 Refactor / clean up registry 2019-06-04 18:47:44 +02:00
Mickael Remond 836e723273 Refactor / extract the registry
Work in progress
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
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 28fb5bf61b
Add basic test for messages 2018-01-24 09:38:02 +01:00
Mickael Remond 7ae2adca9f
Adds support for error element on message and presence 2018-01-23 09:10:10 +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
Renamed from xmpp/message.go (Browse further)