app

package
v0.0.0-...-d87d503 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWebApp

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

NewWebApp

Types

type WebApp

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

WebApp reprenset web framework App implement

func (WebApp) BaseFolder

func (w WebApp) BaseFolder() string

BaseFolder implement

func (WebApp) CommandFolder

func (w WebApp) CommandFolder() string

CommandFolder implment

func (WebApp) ConfigFolder

func (w WebApp) ConfigFolder() string

ConfigFolder implement

func (WebApp) ConsoleFolder

func (w WebApp) ConsoleFolder() string

ConsoleFolder implement

func (WebApp) HttpFolder

func (w WebApp) HttpFolder() string

HttpFolder implement

func (WebApp) LogFolder

func (w WebApp) LogFolder() string

LogFolder implement

func (WebApp) MiddlewareFolder

func (w WebApp) MiddlewareFolder() string

MiddlewareFolder implment

func (WebApp) ProviderFolder

func (w WebApp) ProviderFolder() string

ProviderFolder implement

func (WebApp) RuntimeFolder

func (w WebApp) RuntimeFolder() string

RuntimeFolder implment

func (WebApp) StorageFolder

func (w WebApp) StorageFolder() string

StorageFolder implement

func (WebApp) TestFolder

func (w WebApp) TestFolder() string

TestFolder implement

func (WebApp) Version

func (w WebApp) Version() string

Version implement

type WebAppProvider

type WebAppProvider struct {
	BaseFolder string
}

WebAppProvider

func (*WebAppProvider) Boot

func (w *WebAppProvider) Boot(container framework.Container) error

Boot boot invock

func (*WebAppProvider) IsDefer

func (w *WebAppProvider) IsDefer() bool

IsDefer is delay call

func (*WebAppProvider) Name

func (w *WebAppProvider) Name() string

Name get identify

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

Jump to

Keyboard shortcuts

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