Documentation ¶
Index ¶
- func RegisterHandler(tp silk.Type, handler Handler)
- func Serve() error
- type Client
- func (c *Client) Ask(p *silk.Package) (*silk.Package, error)
- func (c *Client) Close() error
- func (c *Client) Download(filename string, localFile string) error
- func (c *Client) Publish(topic string, payload []byte) error
- func (c *Client) Send(p *silk.Package) error
- func (c *Client) TaskCreate(command string, conn io.ReadWriteCloser) (uint16, error)
- func (c *Client) TaskKill(id uint16) error
- func (c *Client) TaskRun(command string) (string, error)
- func (c *Client) TaskStart(command string) error
- func (c *Client) TunnelBind(conn io.ReadWriteCloser) error
- func (c *Client) Upload(filename string, localFile string) error
- type Handler
- type Handlers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandler ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) TaskCreate ¶
func (*Client) TunnelBind ¶
func (c *Client) TunnelBind(conn io.ReadWriteCloser) error
Click to show internal directories.
Click to hide internal directories.