Commit graph

23 commits

Author SHA1 Message Date
Mael GRAMAIN
78744ea1ac AXFR support
#11
2021-01-01 22:34:54 -04:00
d1b9dba472 Using sqlMigrate from sacrebleu-api 2020-12-27 22:58:20 -04:00
1cf5c4f3d5 Using api structs for the Records 2020-12-27 20:34:26 -04:00
e05cab9d5e Multiple records support 2020-12-27 19:05:16 -04:00
Luclu7
44f07ca2a2
add support for sockets (mostly clarification) 2020-12-25 03:06:20 +01:00
Luclu7
8220eacb10
config: fixed app_mode
also changed like Ip to IP and Db to DB
2020-12-25 02:31:28 +01:00
deb28bbff9 GORM logging level is now based on the AppMode configuration 2020-12-22 21:36:41 -04:00
0b6b6d977c Simplify returning boolean expression 2020-12-22 21:30:32 -04:00
eeea8c17b7 SQL database migration command 2020-12-22 21:01:18 -04:00
3737e17ecf Switched sql funcs returns from int to bool 2020-12-22 20:20:06 -04:00
4a14ad594b Switching from database/sql to GORM 2020-12-22 20:09:10 -04:00
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
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
98537616c8 Commenting 2020-12-14 18:20:24 -04:00
e70571c450 Better SqlTest() function 2020-12-13 21:15:43 -04:00
61d6d47637 Unused code removed 2020-12-13 21:06:29 -04:00
c858b1b5e1 test sql connexion before launch 2020-12-13 20:58:01 -04:00
c17d650520 Removed unused values 2020-12-13 14:43:31 -04:00
9394aeeb9d Fixes 2020-12-13 14:40:14 -04:00
e28b61e2f0 strings.Replace replaced by strings.ReplaceAll helper function 2020-12-13 14:37:09 -04:00
0c50b409f0 Warning removed 2020-12-13 14:30:58 -04:00
e5bf49a363 Database name is now dynamic 2020-12-13 14:30:29 -04:00
36ce33e8f1 Init 2020-12-12 23:01:04 -04:00