package
Version:
v0.0.0-...-ccce489
Opens a new window with list of versions in this module.
Published: Jan 27, 2021
License: GPL-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Start starts the app. Requires calling of Setup first.
type App struct {
Fiber *fiber.App
Config Config
}
App represents an app instance and all of it's required resources.
CurrentApp represents the current app instance.
Setup sets up the global app instance.
type Config struct {
ListenAddress string `default:":3000" split_words:"true"`
DBPath string `default:"file::memory:?cache=shared" split_words:"true"`
Debug bool `default:"false"`
}
Config represents the basic configuration required for the app on startup.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.