control

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 ConnectService added in v0.4.2

func ConnectService(name string) (*Control, error)

func (*Control) CreateBuffer

func (c *Control) CreateBuffer(name string) error

func (*Control) DeleteBuffer

func (c *Control) DeleteBuffer(name string) error

func (*Control) HasBuffer

func (c *Control) HasBuffer(string) bool

TODO: We don't really need this anymore

func (*Control) Listen added in v0.4.2

func (c *Control) Listen(input func([]byte), ctl func(*commander.Command))

func (*Control) Notification

func (c *Control) Notification(string, string, string) error

func (*Control) Remove

func (c *Control) Remove(string, string) error

TODO: Was this ever used?

func (*Control) WriteAside added in v0.4.2

func (c *Control) WriteAside(buffer string, data string) error

func (*Control) WriteError added in v0.4.2

func (c *Control) WriteError(data string) error

func (*Control) WriteFeed added in v0.4.2

func (c *Control) WriteFeed(buffer string, data io.ReadCloser) error

func (*Control) WriteImage added in v0.4.2

func (c *Control) WriteImage(string, string, io.ReadCloser) error

TODO: Implement images

func (*Control) WriteMain added in v0.4.2

func (c *Control) WriteMain(buffer string, data io.ReadCloser) error

func (*Control) WriteNav added in v0.4.2

func (c *Control) WriteNav(buffer string, data string) error

func (*Control) WriteStatus added in v0.4.2

func (c *Control) WriteStatus(buffer string, data string) error

func (*Control) WriteTitle added in v0.4.2

func (c *Control) WriteTitle(buffer string, data string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL