read secret key from config.json

This commit is contained in:
2022-06-12 17:17:57 +08:00
parent c7382a1561
commit 4fcd962cc9
3 changed files with 4 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ type APIConfig struct {
Addr string `json:"addr"`
FfmpegThreads int64 `json:"ffmpeg_threads"`
FfmpegConfigList []FfmpegConfig `json:"ffmpeg_config_list"`
SECRET string `json:"secret"`
}
type FfmpegConfigList struct {