Documentation ¶ Index ¶ type Callback type Client type Connecter type Sender Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Callback ¶ type Callback interface { Connecter } type Client ¶ type Client struct { Username string } A client is returned on Client connection type Connecter ¶ type Connecter interface { Connect(*Client, controller.Controller) error } type Sender ¶ added in v0.2.2 type Sender interface { SendCommand(string) error } Sender interface is used by the listeners to handle control messages SendCommand can be intercepted, but finally should call your service.SendCommand from your controller with the payload Source Files ¶ View all Source files callback.go Click to show internal directories. Click to hide internal directories.