mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-25 03:52:02 -08:00
18 lines
335 B
Go
18 lines
335 B
Go
package stanza
|
|
|
|
import (
|
|
"crypto/tls"
|
|
"encoding/xml"
|
|
)
|
|
|
|
var DefaultTlsConfig tls.Config
|
|
|
|
// Used during stream initiation / session establishment
|
|
type TLSProceed struct {
|
|
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-tls proceed"`
|
|
}
|
|
|
|
type tlsFailure struct {
|
|
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-tls failure"`
|
|
}
|