Better documentation for config
This commit is contained in:
parent
b62533d005
commit
996feb1a40
10
config.go
10
config.go
|
@ -10,10 +10,10 @@ type Config struct {
|
||||||
Jid string
|
Jid string
|
||||||
parsedJid *Jid // For easier manipulation
|
parsedJid *Jid // For easier manipulation
|
||||||
Password string
|
Password string
|
||||||
PacketLogger *os.File // Used for debugging
|
PacketLogger *os.File // Used for debugging
|
||||||
Lang string // TODO: should default to 'en'
|
Lang string // TODO: should default to 'en'
|
||||||
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
|
CharsetReader func(charset string, input io.Reader) (io.Reader, error) // passed to xml decoder
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue