Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kernel ¶
type Kernel struct {
Application *larago.Application
// contains filtered or unexported fields
}
Kernel for cli commands.
func (*Kernel) SetBootstrappers ¶
func (k *Kernel) SetBootstrappers(bootstrappers ...larago.Bootstrapper)
SetBootstrappers sets Application bootstrappers.
type SignalsHandler ¶
type SignalsHandler struct {
Events *EventBus.EventBus
ExitHandler larago.ExitHandler
}
SignalsHandler handles cli signals.
func (*SignalsHandler) CatchInterrupt ¶
func (h *SignalsHandler) CatchInterrupt()
CatchInterrupt handles sigterm.
Click to show internal directories.
Click to hide internal directories.