Documentation ¶
Index ¶
- func NewYogoApp(params ...interface{}) (interface{}, error)
- type YogoApp
- func (app *YogoApp) AppFolder() string
- func (y *YogoApp) AppID() string
- func (y YogoApp) BaseFolder() string
- func (y YogoApp) CommandFolder() string
- func (y YogoApp) ConfigFolder() string
- func (y YogoApp) ConsoleFolder() string
- func (app *YogoApp) DeployFolder() string
- func (y YogoApp) HttpFolder() string
- func (y *YogoApp) LoadAppConfig(kv map[string]string)
- func (y YogoApp) LogFolder() string
- func (y YogoApp) MiddlewareFolder() string
- func (y YogoApp) ProviderFolder() string
- func (y YogoApp) RuntimeFolder() string
- func (y YogoApp) StorageFolder() string
- func (y YogoApp) TestFolder() string
- func (y YogoApp) Version() string
- type YogoAppProvider
- func (y *YogoAppProvider) Boot(container framework.Container) error
- func (y *YogoAppProvider) IsDefer() bool
- func (y *YogoAppProvider) Name() string
- func (y *YogoAppProvider) Params(container framework.Container) []interface{}
- func (y *YogoAppProvider) Register(container framework.Container) framework.NewInstance
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) BaseFolder ¶
func (YogoApp) CommandFolder ¶
func (YogoApp) ConfigFolder ¶
func (YogoApp) ConsoleFolder ¶
func (YogoApp) HttpFolder ¶
func (*YogoApp) LoadAppConfig ¶
func (YogoApp) MiddlewareFolder ¶
func (YogoApp) ProviderFolder ¶
func (YogoApp) RuntimeFolder ¶
func (YogoApp) StorageFolder ¶
func (YogoApp) TestFolder ¶
type YogoAppProvider ¶
type YogoAppProvider struct {
BaseFolder string
}
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
Click to show internal directories.
Click to hide internal directories.