Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyRunning = errors.New("Service already running")
Functions ¶
This section is empty.
Types ¶
type ErrorCollector ¶
type ErrorCollector struct {
// contains filtered or unexported fields
}
func NewErrorCollector ¶
func NewErrorCollector() *ErrorCollector
func (*ErrorCollector) Add ¶
func (ec *ErrorCollector) Add(err error)
func (*ErrorCollector) Error ¶
func (ec *ErrorCollector) Error() error
type RunningLock ¶
type RunningLock struct {
// contains filtered or unexported fields
}
func (*RunningLock) Disable ¶
func (rl *RunningLock) Disable()
func (*RunningLock) EnableOrFail ¶
func (rl *RunningLock) EnableOrFail() error
func (*RunningLock) Running ¶
func (rl *RunningLock) Running() bool
Click to show internal directories.
Click to hide internal directories.