Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
Name() string
Start() error
Stop(context.Context) error
Restart(context.Context) error
Status() Status
}
Service is a restartable background component owned by the application.
type State ¶
type State struct {
// contains filtered or unexported fields
}
State centralizes the synchronized runtime metadata shared by services.
Click to show internal directories.
Click to hide internal directories.