Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrConfigLoad = errors.New("cannot load config") ErrDatabaseMigrate = errors.New("cannot migrate database") )
View Source
var ErrConfigAppRead = errors.New("error reading app config")
Functions ¶
This section is empty.
Types ¶
type Bootstrapper ¶ added in v0.3.0
type Bootstrapper struct {
// Commands is consumed by Wire to trigger instantiation of all command providers.
// Commands register themselves on the Kernel via side-effect in their constructors.
Commands []*cobra.Command
Kernel *kernel.Kernel
Migrator *database.Migrator
ConfigApp *config.App
}
func InitializeBootstrapper ¶ added in v0.3.0
func NewBootstrapper ¶ added in v0.3.0
func (*Bootstrapper) InitializeKernel ¶ added in v0.3.0
type EarlyBootstrapper ¶ added in v0.3.0
type EarlyBootstrapper struct {
ConfigReader *configinfra.Reader
Logger *slog.Logger
ConfigApp *config.App
}
func NewEarlyBootstrapper ¶ added in v0.3.0
func NewEarlyBootstrapper() *EarlyBootstrapper
Click to show internal directories.
Click to hide internal directories.