Go to file
Torben Nehmer a23043ba5f Added state perstistance
- Define new state directory to hold the last dns update config and push it into the config, default to state/
- Refactoring, move updaterequest into service and out of webapp. Keep only the form parsing there. Specifically, move the processing code into the service package, it shouldn't be in the webapp.
- Add code to load and save the last updaterequest into a state file (watch out to keep the possibly unhashed password out of it).
- Add a command line option to load all available state files given the current configured user list from the command line.
- Refactor user configuartion loading to separate it from user authentication, claen up the code.
- We now require the username in the config, to make handling it in state updates easier. This will allow easier transition to DB style storage anyway.
- Update .gitignore
2021-09-18 15:38:49 +02:00
cmd Added state perstistance 2021-09-18 15:38:49 +02:00
service Added state perstistance 2021-09-18 15:38:49 +02:00
users Added state perstistance 2021-09-18 15:38:49 +02:00
webapi Added state perstistance 2021-09-18 15:38:49 +02:00
.gitignore Added state perstistance 2021-09-18 15:38:49 +02:00
default-config.yml Added state perstistance 2021-09-18 15:38:49 +02:00
go.mod Refactorization and further implementation 2021-08-21 20:35:08 +02:00
go.sum First basic version 2021-08-20 21:10:59 +02:00
LICENSE Initial commit 2021-08-10 16:13:44 +00:00
main.go Cleaned up config handling 2021-08-25 21:17:19 +02:00
README.md Initial commit 2021-08-10 16:13:44 +00:00
samples.txt Updated samples 2021-08-21 20:32:54 +02:00

dyndns