app

package
v0.0.0-...-af619fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewlessApp

func NewlessApp(params ...interface{}) (interface{}, error)

NewlessApp 初始化lessApp

Types

type LessAppProvider

type LessAppProvider struct {
	BaseFolder string
}

LessAppProvider 提供App的具体实现方法

func (*LessAppProvider) Boot

func (h *LessAppProvider) Boot(container framework.Container) error

Boot 启动调用

func (*LessAppProvider) IsDefer

func (h *LessAppProvider) IsDefer() bool

IsDefer 是否延迟初始化

func (*LessAppProvider) Name

func (h *LessAppProvider) Name() string

Name 获取字符串凭证

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方法

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL