Documentation ¶
Index ¶
- func NewApp(params ...any) (any, error)
- type App
- func (app App) AppFolder() string
- func (app App) AppID() string
- func (app App) BaseFolder() string
- func (app App) CommandFolder() string
- func (app App) ConfigFolder() string
- func (app App) ConsoleFolder() string
- func (app App) HttpFolder() string
- func (app App) LoadAppConfig(kv map[string]string)
- func (app App) LogFolder() string
- func (app App) MiddlewareFolder() string
- func (app App) ProviderFolder() string
- func (app App) RuntimeFolder() string
- func (app App) StorageFolder() string
- func (app App) TestFolder() string
- func (app App) Version() string
- type AppProvider
- func (provider *AppProvider) Boot(framework.Container) error
- func (provider *AppProvider) IsDefer() bool
- func (provider *AppProvider) Name() string
- func (provider *AppProvider) Params(container framework.Container) []any
- func (provider *AppProvider) Register(container framework.Container) framework.NewInstance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (App) BaseFolder ¶
func (App) LoadAppConfig ¶
func (App) MiddlewareFolder ¶
MiddlewareFolder app/http/middleware
type AppProvider ¶
type AppProvider struct {
BaseFolder string
}
AppProvider implement ServiceProvider interface
func (*AppProvider) IsDefer ¶
func (provider *AppProvider) IsDefer() bool
func (*AppProvider) Name ¶
func (provider *AppProvider) Name() string
func (*AppProvider) Params ¶
func (provider *AppProvider) Params(container framework.Container) []any
func (*AppProvider) Register ¶
func (provider *AppProvider) Register(container framework.Container) framework.NewInstance
Click to show internal directories.
Click to hide internal directories.