Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutomatedClient ¶
type AutomatedClient struct {
// contains filtered or unexported fields
}
func NewAutomatedClient ¶
func NewAutomatedClient(ip string, port int, commands []CommandHandler) AutomatedClient
func (AutomatedClient) Run ¶
func (au AutomatedClient) Run()
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) WriteBlock ¶
type Command ¶
type Command struct { Data map[string]interface{} CommandHandler // contains filtered or unexported fields }
type CommandHandler ¶
type CommandHandler interface {
Execute(*Client)
}
type EnterLobby ¶
type EnterLobby struct {
Command
}
Click to show internal directories.
Click to hide internal directories.