Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusStarted Status = "Started" StatusStopped = "Stopped" StatusFailed = "Failed" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Initializable ¶
type Initializable interface {
// Initializes the object
Init() error
}
Initializable is an interface that is implemented by an object that needs to be initialized
type Managed ¶
type Managed interface {
// Start starts the managed object
Start() error
// Stop stops the manged object
Stop() error
}
Managed is an interface that is implemented by an object that needs to be managed via start/stop
type StatusInfo ¶
Click to show internal directories.
Click to hide internal directories.