Directories ¶
Path | Synopsis |
---|---|
Package config is responsible for reading all environment variables and set up the base configuration for a functional application
|
Package config is responsible for reading all environment variables and set up the base configuration for a functional application |
Package controller contains all the controllers of the application
|
Package controller contains all the controllers of the application |
Package database handles connections to different types of databases
|
Package database handles connections to different types of databases |
migrate
autoMigrate.go needs to be executed only when it is required to migrate a new relational database schema or to delete an existing database
|
autoMigrate.go needs to be executed only when it is required to migrate a new relational database schema or to delete an existing database |
model
Package model contains all the models required for a functional database management system
|
Package model contains all the models required for a functional database management system |
Package lib provides additional functionalities to the application: - AES encryption-decryption - Argon2id hashing - SHA hashing - Two-factor authentication - Email format validation along with MX lookup
|
Package lib provides additional functionalities to the application: - AES encryption-decryption - Argon2id hashing - SHA hashing - Two-factor authentication - Email format validation along with MX lookup |
middleware
Package middleware contains: - CORS - Application firewall - Pongo2 template engine - JWT - Sentry logger - Two-factor auth validator
|
Package middleware contains: - CORS - Application firewall - Pongo2 template engine - JWT - Sentry logger - Two-factor auth validator |
renderer
Package renderer uses template engine to render and serve HTML pages
|
Package renderer uses template engine to render and serve HTML pages |
Package service contains common functions used by the whole application
|
Package service contains common functions used by the whole application |
Click to show internal directories.
Click to hide internal directories.