package main import ( "server/core" "server/packet" ) // ping is used as a heartbeat and latency check. func ping(data []byte, client *core.Client) { server.Send(packet.PING, data, client) }