Versions in this module Expand all Collapse all v0 v0.0.1 May 11, 2026 Changes in this version + func LoadEnvFile(path string) error v0.0.0 May 8, 2026 Changes in this version + func As[I any]() container.Contract + func Bean[T any](constructor any, contracts ...container.Contract) + func GetAll[T any](app *App) ([]T, error) + func Get[T any](app *App) (T, error) + func Register[T any](app *App, constructor any, contracts ...container.Contract) + func RunApplication(modules ...Module) + type App struct + func New(modules ...Module) *App + func (a *App) Background(name string, fn BackgroundFunc) + func (a *App) Config() *config.Config + func (a *App) OnStart(name string, fn StartFunc) + func (a *App) OnStop(name string, fn StopFunc) + func (a *App) Run() error + func (a *App) Use(modules ...Module) + type BackgroundFunc func(context.Context) error + type ConfigRegistry struct + func (r *ConfigRegistry) Declare(path string, owner string) error + type Module interface + Configure func(*ConfigRegistry) error + Name func() string + Register func(*App) error + type StartFunc func(context.Context) error + type StopFunc func(context.Context) error