Versions in this module Expand all Collapse all v0 v0.0.3 Apr 1, 2023 Changes in this version + type Client struct + Conn net.Conn + func NewClient(conn net.Conn, readLimit int, sendLimit int, heart time.Duration) *Client + func (c *Client) Close() + func (c *Client) KeepAlive(interval time.Duration) + func (c *Client) Ping() + func (c *Client) Receive() <-chan gameapi.Packet + func (c *Client) Send(opcode uint16, msg protoreflect.ProtoMessage) error