Versions in this module Expand all Collapse all v0 v0.3.4 Aug 1, 2023 v0.3.3 Jul 30, 2023 Changes in this version + const CMD_CHECK + const CMD_KILL_ALL + const CMD_SET_ARGS + const CMD_SET_CTX + const CMD_SET_PATH + const CMD_SPAWN + const STRING_FMT_PORT + const STRING_LIT_PORT + var CheckDelaySleep time.Duration = 250 * time.Millisecond + func CheckProcs(mgr process.IManager) error + func KillAllProcs(mgr process.IManager) error + func SetArgs(mgr process.IManager, args ...string) error + func SetContext(mgr process.IManager, ctx context.Context) error + func SetPath(mgr process.IManager, path string) error + func Spawn(mgr process.IManager, lgr logger.ILogger, cnf *Config) (*process.Process, error) + func SpawnProcs(mgr process.IManager) error + type Args struct + func NewArgs(port int, args []string) Args + func (a Args) Get(port int) []string + type Config struct + Base int + Count int + func NewConfig(count, base int) *Config + func NewDefaultConfig() *Config + type Manager struct + func NewManager(lgr logger.ILogger, count, base int) *Manager + func (m *Manager) Check() + func (m *Manager) Dump() + func (m *Manager) KillAll() + func (m *Manager) SetArgs(val Args) + func (m *Manager) SetContext(val context.Context) + func (m *Manager) SetCount(val int) + func (m *Manager) SetPath(val string) + func (m *Manager) Spawn() + type Process struct + func NewProcess(lgr logger.ILogger, cnf *Config) *Process + func (p *Process) Action(state **process.State) + func (p *Process) SetArgs(args ...string) + func (p *Process) SetContext(val context.Context) + func (p *Process) SetCount(val int) + func (p *Process) SetPath(val string)