Documentation ¶
Index ¶
- type App
- type BaseApp
- func (app *BaseApp) Bootstrap() error
- func (app *BaseApp) Config() *config.Config
- func (app *BaseApp) DB() *database.Database
- func (app *BaseApp) DBConfig() *database.Config
- func (app *BaseApp) IsSetup() bool
- func (app *BaseApp) UpdateDBConfig(conf *database.Config)
- func (app *BaseApp) WorkDir() types.WorkDir
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App interface { DB() *database.Database Config() *config.Config DBConfig() *database.Config WorkDir() types.WorkDir IsSetup() bool UpdateDBConfig(conf *database.Config) Bootstrap() error }
Inspiration from Pocketbase: https://github.com/pocketbase/pocketbase File: https://github.com/pocketbase/pocketbase/blob/master/core/app.go
type BaseApp ¶
type BaseApp struct {
// contains filtered or unexported fields
}
func NewBaseApp ¶
func (*BaseApp) UpdateDBConfig ¶
Click to show internal directories.
Click to hide internal directories.