mirror of https://github.com/fluffle/goirc
Pong Ping, What's the difference?
This commit is contained in:
parent
165f7ebc51
commit
674c2f852e
|
@ -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 }
|
||||||
|
|
Loading…
Reference in New Issue