Documentation
¶
Index ¶
- func ClientGetM[T any](c *Client, key string) (T, bool)
- func GraphMsgGetM[T any](msg graph.IMsg, key string) (T, bool)
- type Client
- func (c *Client) BindNetMsg(node string, msg util.IMsg, receiver MsgToStrAny)
- func (c *Client) BindPointMsg(node, inPoint string, fn graph.MsgToErr)
- func (c *Client) Dialer() kiwi.IDialer
- func (c *Client) GetM(key string) (any, bool)
- func (c *Client) Graph() graph.IGraph
- func (c *Client) Id() string
- func (c *Client) Push(fn util.FnAnySlc, params ...any)
- func (c *Client) Receive(agent kiwi.IAgent, bytes []byte)
- func (c *Client) SetM(key string, data any)
- type Decoder
- type MsgToStrAny
- type Option
- type Receiver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func MsgGetClient ¶
func (*Client) BindNetMsg ¶
func (c *Client) BindNetMsg(node string, msg util.IMsg, receiver MsgToStrAny)
func (*Client) BindPointMsg ¶
type Receiver ¶
type Receiver struct { Node string Fn MsgToStrAny }
Click to show internal directories.
Click to hide internal directories.