Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { IP string PORT any Conn net.Conn CONFIG *quickproto.Config OnMessage func(*quickproto.Message) AesKey *[32]byte Cookies map[string][]string }
Client struct for connecting to a server.
func New ¶ added in v1.1.6
func New(ip string, port any, conf *quickproto.Config, onmessage func(*quickproto.Message)) *Client
Initiate a new client.
func (*Client) GetCookies ¶ added in v1.5.1
Click to show internal directories.
Click to hide internal directories.