Documentation
¶
Index ¶
- func IsValidBinaryName(binName string) error
- func NewInstaller() *installer
- func NewProgram(binName, description, version string, p service.Interface) *program
- func PanicIf(err error)
- type Application
- func (i *Application) Boot()
- func (i *Application) Booted(callback func(application foundation.Application))
- func (i *Application) Booting(callback func(application foundation.Application))
- func (i *Application) Environment(s ...string) (string, bool)
- func (i *Application) GetBasePath() string
- func (i *Application) GetBootstrapPath() string
- func (i *Application) GetConfigPath() string
- func (i *Application) GetLangPath() string
- func (i *Application) GetLocale() string
- func (i *Application) GetProviders(provider interface{}) []interface{}
- func (i *Application) GetPublicPath() string
- func (i *Application) GetResourcePath() string
- func (i *Application) GetStoragePath() string
- func (i *Application) HasBeenBootstrapped() bool
- func (i *Application) Invoke(function interface{}, opts ...dig.InvokeOption) error
- func (i *Application) IsDownForMaintenance() bool
- func (i *Application) MaintenanceMode() context.Context
- func (i *Application) Provide(function interface{}, opts ...dig.ProvideOption) error
- func (i *Application) Register(providers ...any)
- func (i *Application) Run()
- func (i *Application) SetLocale(locale string)
- func (i *Application) ShowProviders()
- func (i *Application) Terminate()
- func (i *Application) Terminating(callback interface{}) foundation.Application
- func (i *Application) Version() string
- type SubApp
Constants ¶
This section is empty.