Commit graph

55 commits

Author SHA1 Message Date
Maël
a1cd3ea5a1
Merge pull request #6 from outout14/deepsource-transform-f033f2c5
Format code with gofmt
2020-12-26 12:09:57 -04:00
Maël
6f8f0ce7d6
Merge pull request #8 from luclu7/add-socket-support
Add socket support
2020-12-26 12:08:53 -04:00
Luclu7
15910ae7a2
updated README.md 2020-12-25 03:16:09 +01:00
Luclu7
44f07ca2a2
add support for sockets (mostly clarification) 2020-12-25 03:06:20 +01:00
Luclu7
f95ab468b3
add built binary to gitignore 2020-12-25 02:33:41 +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
deepsource-autofix[bot]
2359e07146
Format code with gofmt
This commit fixes the style issues introduced in e9e84ea according to the output
from gofmt.

Details: https://deepsource.io/gh/outout14/sacrebleu-dns/transform/67d36107-8c80-4374-8608-5a30493582d4/
2020-12-24 01:45:10 +00:00
Maël
e9e84ea076
Merge pull request #5 from luclu7/patch-2
defaults to ./config.ini
2020-12-23 21:45:00 -04:00
Luclu7
20ed884d05
defaults to ./config.ini
not the best option but it's at least better
2020-12-24 01:08:32 +01:00
aed754d74c Badges on readme 2020-12-22 21:41:20 -04: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
607dc95b5a Port double dots is now hard written in the code 2020-12-22 21:26:39 -04:00
23bbef688b Updated readme 2020-12-22 21:25:23 -04:00
506e0d8422 Using the default DNS port as default in configuration file 2020-12-22 21:02:13 -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
02ee609cc4 Readme updated
Informations updated
2020-12-22 20:12:08 -04:00
319f1abb2c Merge remote-tracking branch 'origin/main' into main 2020-12-22 20:11:13 -04:00
Maël
235e1605e9
Merge pull request #2 from luclu7/patch-1
Fix readme.md
2020-12-22 20:10:04 -04:00
4a14ad594b Switching from database/sql to GORM 2020-12-22 20:09:10 -04:00
Luclu7
55be51c41c
fixed readme
REDIS => Redis
2020-12-22 20:21:18 +01: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
Maël
7cf1ae926b
Merge pull request #1 from fossabot/add-license-scan-badge
Add license scan report and status
2020-12-15 17:35:13 -04:00
fossabot
9a6daa346e Add license scan report and status
Signed off by: fossabot <badges@fossa.com>
2020-12-14 14:29:30 -08:00
98537616c8 Commenting 2020-12-14 18:20:24 -04:00
3459498605 Renamed the default DB name 2020-12-14 18:20:14 -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
de3bcdd7fc Service file 2020-12-13 21:05:00 -04:00
44147b07f2 Configuration file patch is dynamic 2020-12-13 21:04:29 -04:00
c858b1b5e1 test sql connexion before launch 2020-12-13 20:58:01 -04:00
3f7fa58fd6 Github renamed master branch to main... 2020-12-13 20:22:11 -04:00
9be5aa8718 Updated makefile 2020-12-13 20:21:07 -04:00
41eb42c369 New Github actions 2020-12-13 20:21:00 -04:00
cd28f79420 Better dist dir 2020-12-13 20:12:10 -04:00
Maël
2db44d955c
Github action (Golang) 2020-12-13 18:37:56 -04:00
d00b8b515f typo fix in makefile 2020-12-13 18:37:26 -04:00
9d3fc3c8e6 install steps 2020-12-13 15:55:45 -04:00
3939d2cd37 example config 2020-12-13 15:55:38 -04:00
e75d15606d Extra files 2020-12-13 15:55:27 -04:00
2b18017b3d Example config 2020-12-13 15:46:19 -04:00
ab5144aa8c Licence added 2020-12-13 15:16:24 -04:00
c17d650520 Removed unused values 2020-12-13 14:43:31 -04:00
9394aeeb9d Fixes 2020-12-13 14:40:14 -04:00
2e187300c6 Switch replaced by if cause only one case 2020-12-13 14:38:24 -04:00
e28b61e2f0 strings.Replace replaced by strings.ReplaceAll helper function 2020-12-13 14:37:09 -04:00
DeepSource Bot
465ea91381 Add .deepsource.toml 2020-12-13 18:33:16 +00:00
af9474533d Gigitnore 2020-12-13 14:31:05 -04:00