Documentation ¶
Index ¶
Constants ¶
View Source
const (
ExitCodeError int = 1
)
Variables ¶
View Source
var ManualComponent = &app.Component{ Constructor: app.Constructor(func(container container.Container) error { return container.Provides( NewManual, func(closer *Manual) Closer { return closer }, ) }), }
View Source
var OsSignalComponent = &app.Component{ Constructor: app.Constructor(func(container container.Container) error { return container.Provides( NewOsSignal, func(closer *OsSignal) Closer { return closer }, ) }), ServeChan: app.ServeChan(func(container container.Container, isServeChan chan struct{}) error { return container.Invoke(func(closer *OsSignal) { isServeChan <- struct{}{} closer.Serve() }) }), }
Functions ¶
This section is empty.
Types ¶
type Manual ¶
type Manual struct {
// contains filtered or unexported fields
}
func (*Manual) GetContext ¶
type OsSignal ¶
type OsSignal struct {
// contains filtered or unexported fields
}
func NewOsSignal ¶
func NewOsSignal() *OsSignal
func (*OsSignal) GetContext ¶
Click to show internal directories.
Click to hide internal directories.