Documentation
¶
Index ¶
- func CheckOk() (finally func(), cleanup func(func()))
- type Cmd
- func (cmd *Cmd) Close() error
- func (cmd *Cmd) Dial(ctx context.Context, addr *net.TCPAddr) (net.Conn, error)
- func (cmd *Cmd) Input(in message.Input)
- func (cmd *Cmd) Listen(port uint16) (net.Listener, error)
- func (cmd *Cmd) Output(ctx context.Context) <-chan message.Message
- func (cmd *Cmd) Start()
- func (cmd *Cmd) Wait() <-chan struct{}
- type CommandArgs
- type CommandArgsEnv
- type Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandArgs ¶
type CommandArgsEnv ¶
type CommandArgsEnv interface {
CommandArgs
Environment() []string
}
func NewCommandArgs ¶
func NewCommandArgs(command string, argsEnv ...[]string) CommandArgsEnv
Click to show internal directories.
Click to hide internal directories.