Pong Ping, What's the difference?

This commit is contained in:
Chris Rhodes 2013-02-15 18:44:00 -08:00
parent 7e62cfb077
commit 86c1156380
1 changed files with 1 additions and 1 deletions

View File

@ -167,5 +167,5 @@ func (conn *Conn) Oper(user, pass string) { conn.out <- OPER + " " + user + " "
// A PONG response is to be expected afterwards // A PONG response is to be expected afterwards
func (conn *Conn) Ping(message string) { conn.out <- PING + " :" + message } func (conn *Conn) Ping(message string) { conn.out <- PING + " :" + message }
// Ping() sends a PONG command to the server // Pong() sends a PONG command to the server
func (conn *Conn) Pong(message string) { conn.out <- PONG + " :" + message } func (conn *Conn) Pong(message string) { conn.out <- PONG + " :" + message }