Add file watcher for dynamic configuration and client reloading

- Introduced `Watcher` for monitoring updates to the configuration file and authentication directory.
- Integrated file watching into `StartService` to handle dynamic changes without restarting.
- Enhanced API server and handlers to support client and configuration updates.
- Updated `.gitignore` to include `docs/` directory.
- Modified go dependencies to include `fsnotify` for the file watcher.
This commit is contained in:
Luis Pater
2025-08-02 16:05:05 +08:00
parent 3b4634e2dc
commit 3c4dc07980
8 changed files with 346 additions and 7 deletions

3
.gitignore vendored
View File

@@ -1 +1,2 @@
config.yaml
config.yaml
docs/