core

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

	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 NewBaseApp(config *config.Config) *BaseApp

func (*BaseApp) Bootstrap

func (app *BaseApp) Bootstrap() error

func (*BaseApp) Config

func (app *BaseApp) Config() *config.Config

func (*BaseApp) DB

func (app *BaseApp) DB() *database.Database

func (*BaseApp) DBConfig

func (app *BaseApp) DBConfig() *database.Config

func (*BaseApp) WorkDir

func (app *BaseApp) WorkDir() types.WorkDir

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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