Documentation
¶
Overview ¶
Package server contains the core of the autodeb server. It creates all dependencies injects them at the right place.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DB DBConfig HTTP HTTPServerConfig DataDirectory string TemplatesDirectory string StaticFilesDirectory string TemplatesCacheEnabled bool LogLevel log.Level }
Config contains configuration for Server
type HTTPServerConfig ¶
HTTPServerConfig holds configuration related to the HTTP server
Directories
¶
Path | Synopsis |
---|---|
Package app implements most of the application logic
|
Package app implements most of the application logic |
Package database is responsible for all database logic.
|
Package database is responsible for all database logic. |
Package models defines all models used within the application.
|
Package models defines all models used within the application. |
Package router provides the main router.
|
Package router provides the main router. |
internal/webpages
Package webpages contains handlers that serve autodeb-server's web pages
|
Package webpages contains handlers that serve autodeb-server's web pages |
Click to show internal directories.
Click to hide internal directories.