workmode

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(spPatterns, runPatterns []string) *Controller

func (*Controller) SetKeyer

func (c *Controller) SetKeyer(keyer Keyer)

func (*Controller) SetView

func (c *Controller) SetView(view View)

func (*Controller) SetWorkmode

func (c *Controller) SetWorkmode(workmode core.Workmode)

type Keyer

type Keyer interface {
	SetPatterns([]string)
	GetPattern(index int) string
}

Keyer functionality used by the workmode controller.

type View

type View interface {
	SetWorkmode(core.Workmode)
}

View represents the visual part of the workmode handling.

Jump to

Keyboard shortcuts

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