Refactor entire Go codebase (#32)

- Small UI adjustments
- Only show last 2 previous IP addresses in notifications and UI
- Database uses interfaces to be modular/pluggable in order to move away from sqlite
- Less dependencies, it even uses a switch statement instead of httprouter
- Updated golibs
- Changed default logging format to `console` (zap)
- Better code overall, modular updater and trigger system
- Refactored readme
- CI script improved
This commit is contained in:
Quentin McGaw
2020-02-22 17:21:32 -05:00
committed by GitHub
parent a11a85e7a5
commit bdb0c2bf2e
52 changed files with 1958 additions and 1697 deletions

View File

@@ -9,10 +9,13 @@ services:
volumes:
- ./data:/updater/data
environment:
- DELAY=300
- ROOTURL=
- DELAY=300s
- ROOT_URL=/
- LISTENINGPORT=8000
- LOGGING=human
- NODEID=0
- LOGLEVEL=
- LOG_ENCODING=console
- LOG_LEVEL=info
- NODE_ID=0
- HTTP_TIMEOUT=10s
- GOTIFY_URL=
- GOTIFY_TOKEN=
restart: always