Documentation ¶ Index ¶ type Callback type Connecter type Handler type Sender Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Callback ¶ type Callback interface { Connecter Handler } type Connecter ¶ type Connecter interface { Connect(Username string) error } type Handler ¶ added in v0.2.3 type Handler interface { Handle(path string, c *markup.Lexer) error } Handler is called when data is written to an `input` file The path will be the buffer in which the data was written 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.