summaryrefslogtreecommitdiff
path: root/xmpp/encoder_decoder.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-06-03 21:33:33 +0200
committerxengineering <me@xengineering.eu>2023-06-04 16:40:46 +0200
commit3c33d393ddf06b6552b6dd7fbe85ddb985233968 (patch)
tree0ac87cada8c7a992da82d4d78ac6428afab25db0 /xmpp/encoder_decoder.go
parent3d2bd84e683e414fc6c8ac2634165fccba641b72 (diff)
downloadlimox-3c33d393ddf06b6552b6dd7fbe85ddb985233968.tar
limox-3c33d393ddf06b6552b6dd7fbe85ddb985233968.tar.zst
limox-3c33d393ddf06b6552b6dd7fbe85ddb985233968.zip
Implement dummy XML encoder and decoder
Diffstat (limited to 'xmpp/encoder_decoder.go')
-rw-r--r--xmpp/encoder_decoder.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/xmpp/encoder_decoder.go b/xmpp/encoder_decoder.go
new file mode 100644
index 0000000..c2d0423
--- /dev/null
+++ b/xmpp/encoder_decoder.go
@@ -0,0 +1,11 @@
+package xmpp
+
+type encoderDecoder struct{
+ session *session
+}
+
+func newEncoderDecoder(s *session) encoderDecoder {
+ ed := encoderDecoder{s}
+
+ return ed
+}