Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func (*Command) NeedsRestart ¶
type CommandInterface ¶
type CommandInterface interface { Run(func(string)) Start() NeedsRestart() bool Kill() bool Stop() }
func NewCommand ¶
func NewCommand(name string, commandName string, commandConfig config.Command) CommandInterface
type NilCommand ¶
type NilCommand struct { }
func (*NilCommand) Kill ¶
func (nc *NilCommand) Kill() bool
func (*NilCommand) NeedsRestart ¶
func (nc *NilCommand) NeedsRestart() bool
func (*NilCommand) Run ¶
func (nc *NilCommand) Run(fn func(string))
func (*NilCommand) Start ¶
func (nc *NilCommand) Start()
func (*NilCommand) Stop ¶
func (nc *NilCommand) Stop()
Click to show internal directories.
Click to hide internal directories.