diff --git a/client/connection.go b/client/connection.go index 7d79ba9..02d1b4b 100644 --- a/client/connection.go +++ b/client/connection.go @@ -272,7 +272,7 @@ func (conn *Conn) ping() { for { select { case <-tick.C: - conn.Ping(time.Now().UnixNano()) + conn.Ping(fmt.Sprintf("%d", time.Now().UnixNano())) case <-conn.cPing: tick.Stop() return