Documentation ¶
Index ¶
Constants ¶
View Source
const (
ExitCodeError int = 1
)
Variables ¶
View Source
var Component = &app.Component{ Constructor: app.Constructor(func(container container.Container) error { return container.Provides( NewOsSignal, func(closer *OsSignal) Closer { return closer }, ) }), Serve: 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 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.