@ -1,4 +1,4 @@
package xmpp // import "gosrc.io/xmpp"
package xmpp
import (
"encoding/base64"
@ -20,7 +20,7 @@ TODO: Implement Backoff Ticker channel
TODO: Implement throttler interface. Throttler could be used to implement various reconnect strategies.
*/
"math"
"crypto/tls"
"encoding/xml"
package main // import "gosrc.io/xmpp"
package main
"log"
"crypto/sha1"
"io"
"fmt"
@ -29,4 +29,4 @@ Fluux XMPP has been primarily tested with ejabberd (https://www.ejabberd.im)
but it should work with any XMPP compliant server.
@ -1,6 +1,6 @@
module gosrc.io/xmpp
go 1.9
go 1.12
require (
github.com/google/go-cmp v0.2.0
"testing"
import "encoding/xml"
const (
NSStream = "http://etherx.jabber.org/streams"
type Packet interface {
Name() string
@ -1,6 +1,4 @@
// TODO: Move to a pubsub file
"strings"
"errors"
"net"