Versions in this module Expand all Collapse all v0 v0.15.0 Nov 19, 2024 Changes in this version + type Client struct + AutoExit bool + Ctx ctx.Context + func Connect(addr string, msgBufferSize int) (*Client, error) + func NewClient(addr string, msgBufferSize int) (*Client, error) + func (receiver *Client) Close() + func (receiver *Client) Connect() error + func (receiver *Client) IsClose() bool + func (receiver *Client) Receiver(val any) error + func (receiver *Client) ReceiverMessage() (string, error) + func (receiver *Client) Send(msg any) error + func (receiver *Client) SetHeader(key, value string) + func (receiver *Client) SetHeaderMap(m map[string]any)