Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
Name string `yaml:"name"`
Exec string `yaml:"exec"`
Glob string `yaml:"glob"`
Cwd string `yaml:"cwd"`
LogTail string
Status CommandStatus
// contains filtered or unexported fields
}
func LoadConfig ¶
type CommandStatus ¶
type CommandStatus int
const ( StatusTrying CommandStatus = iota StatusOk StatusFailed )
type CommandStreamMsg ¶
type CommandWatcher ¶
type CommandWatcher struct {
// contains filtered or unexported fields
}
func NewCommandWatcher ¶
func NewCommandWatcher(c *Command, onUpdate func(*Command, string)) *CommandWatcher
func (*CommandWatcher) Start ¶
func (cw *CommandWatcher) Start()
type Debouncer ¶
type Debouncer struct {
// contains filtered or unexported fields
}
func NewDebouncer ¶
type DiscardHandler ¶ added in v0.1.2
type DiscardHandler struct{}
type Execer ¶
type Execer struct {
Command *Command
Callback ExecerCallback
}
func NewExecer ¶
func NewExecer(c *Command, cb ExecerCallback) *Execer
type FileEventMsg ¶
Click to show internal directories.
Click to hide internal directories.