Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(logger hclog.Logger) *Manager
func (*Manager) Stop ¶
Caveat: The returned stoppedCh indicates that the routine is completed
It's possible that ctx is canceled, but stoppedCh not yet closed Use mgr.IsRunning(name) than this stoppedCh to tell whether the instance is still running (not cancelled or completed).
Click to show internal directories.
Click to hide internal directories.