Commit graph

14 commits

Author SHA1 Message Date
Luclu7 44f07ca2a2
add support for sockets (mostly clarification) 2020-12-25 03:06:20 +01:00
Mael G. deb28bbff9 GORM logging level is now based on the AppMode configuration 2020-12-22 21:36:41 -04:00
Mael G. eeea8c17b7 SQL database migration command 2020-12-22 21:01:18 -04:00
Mael G. 3737e17ecf Switched sql funcs returns from int to bool 2020-12-22 20:20:06 -04:00
Mael G. 4a14ad594b Switching from database/sql to GORM 2020-12-22 20:09:10 -04:00
Mael G. 43e8ab8210 PostgreSQL Support
Implementation of PostgreSQL database engine in the DNS server using jackc/pgx (as database/sql driver). 
The user can select what database type he want in the config.ini file under the database section.
2020-12-22 14:56:54 -04:00
Mael G. efffac8b0a Refactoring of some vars and funcs name
Theses change breaks old configuration files but make the code readability better thanks to VSCode plugins.
2020-12-21 23:12:02 -04:00
Mael G. 98537616c8 Commenting 2020-12-14 18:20:24 -04:00
Mael G. e70571c450 Better SqlTest() function 2020-12-13 21:15:43 -04:00
Mael G. c858b1b5e1 test sql connexion before launch 2020-12-13 20:58:01 -04:00
Mael G. c17d650520 Removed unused values 2020-12-13 14:43:31 -04:00
Mael G. 0c50b409f0 Warning removed 2020-12-13 14:30:58 -04:00
Mael G. e5bf49a363 Database name is now dynamic 2020-12-13 14:30:29 -04:00
Mael G. 36ce33e8f1 Init 2020-12-12 23:01:04 -04:00