Documentation ¶
Index ¶
- Variables
- type App
- func (a *App) E() *echo.Echo
- func (a *App) Init(s *settings.Settings, logger *slogging.Slogger, dbclient *ent.Client) error
- func (a *App) Logger() *slogging.Slogger
- func (a *App) PrintConfiguration()
- func (a *App) SetEmbeds(templates, assets embed.FS)
- func (a *App) SetServerSettings()
- func (a *App) SetSettings(s *settings.Settings)
- func (a *App) SetupRoutes() error
- type Embeds
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAppSettingsUnset = errors.New("somehow we got here with settings unset - contact the developer") ErrAppAlreadyInitialised = errors.New("app was already initialised") )
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) PrintConfiguration ¶
func (a *App) PrintConfiguration()
PrintConfiguration outputs relevant settings of the application to console.
func (*App) SetServerSettings ¶
func (a *App) SetServerSettings()
SetServerSettings sets up the main Echo instance and panics on err.
func (*App) SetSettings ¶
func (*App) SetupRoutes ¶
Click to show internal directories.
Click to hide internal directories.