|
|
@ -1,6 +1,9 @@
|
|
|
|
package xmpp // import "fluux.io/xmpp"
|
|
|
|
package xmpp // import "fluux.io/xmpp"
|
|
|
|
|
|
|
|
|
|
|
|
import "os"
|
|
|
|
import (
|
|
|
|
|
|
|
|
"io"
|
|
|
|
|
|
|
|
"os"
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
type Config struct {
|
|
|
|
Address string
|
|
|
|
Address string
|
|
|
@ -12,4 +15,5 @@ type Config struct {
|
|
|
|
Retry int // Number of retries for connect
|
|
|
|
Retry int // Number of retries for connect
|
|
|
|
ConnectTimeout int // Connection timeout in seconds. Default to 15
|
|
|
|
ConnectTimeout int // Connection timeout in seconds. Default to 15
|
|
|
|
Insecure bool // set to true to allow comms without TLS
|
|
|
|
Insecure bool // set to true to allow comms without TLS
|
|
|
|
|
|
|
|
CharsetReader func(charset string, input io.Reader) (io.Reader, error) // passed to xml decoder
|
|
|
|
}
|
|
|
|
}
|
|
|
|