app

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewYogoApp

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

Types

type YogoApp

type YogoApp struct {
	// contains filtered or unexported fields
}

func (*YogoApp) AppFolder

func (app *YogoApp) AppFolder() string

AppFolder 代表app目录

func (*YogoApp) AppID

func (y *YogoApp) AppID() string

func (YogoApp) BaseFolder

func (y YogoApp) BaseFolder() string

func (YogoApp) CommandFolder

func (y YogoApp) CommandFolder() string

func (YogoApp) ConfigFolder

func (y YogoApp) ConfigFolder() string

func (YogoApp) ConsoleFolder

func (y YogoApp) ConsoleFolder() string

func (*YogoApp) DeployFolder

func (app *YogoApp) DeployFolder() string

DeployFolder 定义测试需要的信息

func (YogoApp) HttpFolder

func (y YogoApp) HttpFolder() string

func (*YogoApp) LoadAppConfig

func (y *YogoApp) LoadAppConfig(kv map[string]string)

func (YogoApp) LogFolder

func (y YogoApp) LogFolder() string

func (YogoApp) MiddlewareFolder

func (y YogoApp) MiddlewareFolder() string

func (YogoApp) ProviderFolder

func (y YogoApp) ProviderFolder() string

func (YogoApp) RuntimeFolder

func (y YogoApp) RuntimeFolder() string

func (YogoApp) StorageFolder

func (y YogoApp) StorageFolder() string

func (YogoApp) TestFolder

func (y YogoApp) TestFolder() string

func (YogoApp) Version

func (y YogoApp) Version() string

type YogoAppProvider

type YogoAppProvider struct {
	BaseFolder string
}

func (*YogoAppProvider) Boot

func (y *YogoAppProvider) Boot(container framework.Container) error

func (*YogoAppProvider) IsDefer

func (y *YogoAppProvider) IsDefer() bool

func (*YogoAppProvider) Name

func (y *YogoAppProvider) Name() string

func (*YogoAppProvider) Params

func (y *YogoAppProvider) Params(container framework.Container) []interface{}

func (*YogoAppProvider) Register

func (y *YogoAppProvider) Register(container framework.Container) framework.NewInstance

Jump to

Keyboard shortcuts

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