Add jwt crypto module, support unit test for config module

Signed-off-by:  Asai Neko<sugar@sne.moe>
This commit is contained in:
2025-12-23 18:11:31 +08:00
parent 1505783c62
commit d314942c08
13 changed files with 212 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ func SetEnvConf(key string, sub string) {
func EnvInit() {
var dict = map[string][]string{
"server": {"address", "debug_mode", "file_logger"},
"server": {"address", "debug_mode", "file_logger", "jwt_secret"},
"database": {"type", "host", "name", "username", "password"},
}
for key, value := range dict {