Versions in this module Expand all Collapse all v0 v0.0.0 Apr 27, 2018 Changes in this version + func Dir() string + func ReadConfig() + func WriteConfig() + type Account struct + Email string + Nick string + Password string + func Acct(name string) Account + type ChatID struct + Email string + ID string + Status xmpp.Status + StatusMsg string + type ChatSend struct + ID *ChatID + Msg xmpp.Chat + type Client struct + func Dial() (*Client, error) + func (g *Client) Accounts() ([]string, error) + func (g *Client) ChatRecv(cid *ChatID) (*xmpp.Chat, error) + func (g *Client) ChatRoster(cid *ChatID) error + func (g *Client) ChatSend(cid *ChatID, msg *xmpp.Chat) error + func (g *Client) ChatStatus(cid *ChatID) error + func (g *Client) Ping() error + type Config struct + Account []*Account + var Cfg Config + func (cfg *Config) AccountByEmail(email string) *Account + type Empty struct