func (c *Client) GetLastPing() int64 {
	return c.lastPing
}
GetLastPing return the last ping timestamp
package server
import "github.com/gorilla/websocket"
type IClient interface {
	GetID() string
	GetToken() string
	GetSocket() *websocket.Conn
	SetSocket(socket *websocket.Conn)
	GetLastPing() int64
	SetLastPing(lastPing int64)
	Send(data []byte) error
}
type Client struct {
	id       string
	token    string
	socket   *websocket.Conn
	lastPing int64
}
func NewClient(id string, token string) *Client {
	c := new(Client)
	c.id = id
	c.token = token
	c.SetLastPing(getTime())
	return c
}
func (c *Client) GetID() string {
	return c.id
}
func (c *Client) GetToken() string {
	return c.token
}
func (c *Client) GetSocket() *websocket.Conn {
	return c.socket
}
func (c *Client) SetSocket(socket *websocket.Conn) {
	c.socket = socket
}