package xmpp import ( "fmt" ) func (c* Client) PingC2S(jid, server string) { fmt.Fprintf(c.conn, "\n" + "\n" + "", xmlEscape(jid), xmlEscape(server)) } func (c* Client) PingS2S(fromServer, toServer string) { fmt.Fprintf(c.conn, "\n" + "\n" + "", xmlEscape(fromServer), xmlEscape(toServer)) }