Documentation
¶
Index ¶
- type Client
- func (c *Client) DownloadAndStart()
- func (h *Client) HandleMessageType(name string, handler func([]byte))
- func (h *Client) Init()
- func (c *Client) Kill()
- func (h *Client) Respond(t string, v any)
- func (c *Client) RunCommand(name string, v any)
- func (c *Client) SetCommand(command string)
- func (c *Client) StartLocal()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Handlers map[string]func([]byte)
Wg *sync.WaitGroup
// contains filtered or unexported fields
}
func (*Client) DownloadAndStart ¶
func (c *Client) DownloadAndStart()
func (*Client) HandleMessageType ¶
func (*Client) RunCommand ¶
func (*Client) SetCommand ¶
func (*Client) StartLocal ¶
func (c *Client) StartLocal()
Click to show internal directories.
Click to hide internal directories.