Documentation ¶
Index ¶
- type App
- func (a *App) Config() interface{}
- func (a *App) Exists(key Keywords) bool
- func (a *App) Get(key Keywords) (interface{}, error)
- func (a *App) GetContext() *context.Context
- func (a *App) RegisterPlugin(path string, config interface{}) error
- func (a *App) RootPath() string
- func (a *App) SetConfig(config interface{}) *App
- func (a *App) SetRootPath(path string) *App
- func (a *App) Use(key Keywords, createFunc func() (interface{}, error)) error
- type Keywords
- type Option
- type Singleton
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) GetContext ¶
func (*App) RegisterPlugin ¶
func (*App) SetRootPath ¶
type Singleton ¶
type Singleton struct {
// contains filtered or unexported fields
}
Singleton struct for managing Singletons
Click to show internal directories.
Click to hide internal directories.