Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotRunning = errors.New("not running")
ErrNotRunning is the error when service is not running
View Source
var (
ErrShutdownTimerExpired = errors.New("shutdown timer expired")
)
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { StatusClient Handler Done() <-chan struct{} }
Service is the interface that includes StatusClient and Handler interfaces. It also wraps Done method
Click to show internal directories.
Click to hide internal directories.