Documentation ¶
Index ¶
- func NewlessApp(params ...interface{}) (interface{}, error)
- type LessAppProvider
- func (h *LessAppProvider) Boot(container framework.Container) error
- func (h *LessAppProvider) IsDefer() bool
- func (h *LessAppProvider) Name() string
- func (h *LessAppProvider) Params(container framework.Container) []interface{}
- func (h *LessAppProvider) Register(container framework.Container) framework.NewInstance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LessAppProvider ¶
type LessAppProvider struct {
BaseFolder string
}
LessAppProvider 提供App的具体实现方法
func (*LessAppProvider) Boot ¶
func (h *LessAppProvider) Boot(container framework.Container) error
Boot 启动调用
func (*LessAppProvider) Params ¶
func (h *LessAppProvider) Params(container framework.Container) []interface{}
Params 获取初始化参数
func (*LessAppProvider) Register ¶
func (h *LessAppProvider) Register(container framework.Container) framework.NewInstance
Register 注册lessApp方法
Click to show internal directories.
Click to hide internal directories.