Documentation ¶
Index ¶
- func NewWebApp(params ...interface{}) (interface{}, error)
- type WebApp
- func (w WebApp) BaseFolder() string
- func (w WebApp) CommandFolder() string
- func (w WebApp) ConfigFolder() string
- func (w WebApp) ConsoleFolder() string
- func (w WebApp) HttpFolder() string
- func (w WebApp) LogFolder() string
- func (w WebApp) MiddlewareFolder() string
- func (w WebApp) ProviderFolder() string
- func (w WebApp) RuntimeFolder() string
- func (w WebApp) StorageFolder() string
- func (w WebApp) TestFolder() string
- func (w WebApp) Version() string
- type WebAppProvider
- func (w *WebAppProvider) Boot(container framework.Container) error
- func (w *WebAppProvider) IsDefer() bool
- func (w *WebAppProvider) Name() string
- func (w *WebAppProvider) Params(container framework.Container) []interface{}
- func (w *WebAppProvider) Register(container framework.Container) framework.NewInstance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WebApp ¶
type WebApp struct {
// contains filtered or unexported fields
}
WebApp reprenset web framework App implement
func (WebApp) MiddlewareFolder ¶
MiddlewareFolder implment
type WebAppProvider ¶
type WebAppProvider struct {
BaseFolder string
}
WebAppProvider
func (*WebAppProvider) Boot ¶
func (w *WebAppProvider) Boot(container framework.Container) error
Boot boot invock
func (*WebAppProvider) Params ¶
func (w *WebAppProvider) Params(container framework.Container) []interface{}
Params get parameters
func (*WebAppProvider) Register ¶
func (w *WebAppProvider) Register(container framework.Container) framework.NewInstance
Register register web app provider
Click to show internal directories.
Click to hide internal directories.