Documentation
¶
Index ¶
- type Control
- func (c *Control) BuildCommand(cmd string) (*command.Command, error)
- func (c *Control) Cleanup()
- func (c *Control) CreateBuffer(name string) error
- func (c *Control) DeleteBuffer(name string) error
- func (c *Control) Errorwriter() (*WriteCloser, error)
- func (c *Control) FileWriter(buffer string) (*WriteCloser, error)
- func (c *Control) HasBuffer(name string) bool
- func (c *Control) ImageWriter(buffer, resource string) (*WriteCloser, error)
- func (c *Control) Input(handler input.Handler, buffer string, payload []byte) error
- func (c *Control) Notification(buff, from, msg string) error
- func (c *Control) Remove(buffer, filename string) error
- func (c *Control) SetCommands(cmd ...*command.Command) error
- type WriteCloser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Control ¶
type Control struct {
// contains filtered or unexported fields
}
func (*Control) CreateBuffer ¶
func (*Control) DeleteBuffer ¶
TODO: Remove from store
func (*Control) Errorwriter ¶
func (c *Control) Errorwriter() (*WriteCloser, error)
func (*Control) FileWriter ¶
func (c *Control) FileWriter(buffer string) (*WriteCloser, error)
func (*Control) ImageWriter ¶
func (c *Control) ImageWriter(buffer, resource string) (*WriteCloser, error)
func (*Control) Notification ¶
type WriteCloser ¶
type WriteCloser struct {
// contains filtered or unexported fields
}
func (*WriteCloser) Close ¶
func (w *WriteCloser) Close() error
Click to show internal directories.
Click to hide internal directories.