control

package
v0.4.12 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: MIT Imports: 12 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(ctx context.Context, 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) ErrorWriter added in v0.4.3

func (c *Control) ErrorWriter() (controller.WriteCloser, error)

func (*Control) FeedWriter added in v0.4.3

func (c *Control) FeedWriter(buffer string) (controller.WriteCloser, error)

func (*Control) HasBuffer

func (c *Control) HasBuffer(string) bool

TODO: We don't really need this anymore

func (*Control) ImageWriter

func (c *Control) ImageWriter(buffer string, name string) (controller.WriteCloser, error)

func (*Control) Listen added in v0.4.2

func (c *Control) Listen() error

func (*Control) MainWriter added in v0.4.3

func (c *Control) MainWriter(buffer string) (controller.WriteCloser, error)

func (*Control) NavWriter added in v0.4.3

func (c *Control) NavWriter(buffer string) (controller.WriteCloser, error)

func (*Control) Notification

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

TODO: Research usage

func (*Control) Remove

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

TODO: Research usage

func (*Control) SetCallbacks added in v0.4.6

func (c *Control) SetCallbacks(cb callback.Callback)

func (*Control) SetCommands

func (c *Control) SetCommands(cmds []*commander.Command)

func (*Control) SideWriter added in v0.4.3

func (c *Control) SideWriter(buffer string) (controller.WriteCloser, error)

func (*Control) StatusWriter added in v0.4.3

func (c *Control) StatusWriter(buffer string) (controller.WriteCloser, error)

func (*Control) TitleWriter added in v0.4.3

func (c *Control) TitleWriter(buffer string) (controller.WriteCloser, error)

Jump to

Keyboard shortcuts

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