module
Version:
v0.0.0-...-4e6b2c2
Opens a new window with list of versions in this module.
Published: Oct 20, 2020
License: MIT
Opens a new window with license information.
README
¶
DemocrArt
API developed in Go to obtain art paintings easily.
This project wants to offer a new method to obtain information for data science projects which work with art paintings.
Required Environment Variables
General Envs
- TIME_LAYOUT_US="January 2, 2006"
Envs that affect to the logs
- LOGS_LEVEL={trace, debug, info, warning, error, fatal}
- TIMESTAMP_FORMAT="02-01-2006 15:04:05"
- FULL_TIMESTAMP={true, false}
Envs for the database connection
- DATABASE_DRIVER. PostgreSQL recommended.
- DATABASE_HOST
- DATABASE_PORT
- DATABASE_USER
- DATABASE_PASSWORD
- DATABASE_NAME
- DATABASE_SSL
- DATABASE_MAX_IDLE_CONNS
- DATABASE_MAX_OPEN_CONNS
Directories
¶
Click to show internal directories.
Click to hide internal directories.