xmpp

package
v0.0.0-...-8382529 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TLSConfig = &tls.Config{
	MinVersion:   tls.VersionTLS10,
	CipherSuites: CipherSuites,
}

Functions

func Dial

func Dial(server protocol.ServerDesc, account protocol.Account, Log log15.Logger) protocol.Conn

func ResolveServer

func ResolveServer(domain string) (sd protocol.ServerDesc)

Attempts to map a server domain name to a typical `ServerDesc` by use of SRV records, which is a standard that xmpp servers do often abide by.

Types

type Conn

type Conn struct {
	// contains filtered or unexported fields
}

func (*Conn) AcceptConversations

func (conn *Conn) AcceptConversations() <-chan protocol.Conversation

func (*Conn) StartConversation

func (conn *Conn) StartConversation(recipient protocol.Account) protocol.Conversation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL