package xmpp import ( "fmt" ) const xmlIqGet = "" func (c *Client) Discovery() { cookie := getCookie() fmt.Fprintf(c.conn, xmlIqGet, xmlEscape(c.jid), xmlEscape(c.domain), cookie) }