This commit is contained in:
ljw
2024-09-13 15:57:29 +08:00
commit c53df223d1
112 changed files with 14353 additions and 0 deletions

9
config/cache.go Normal file
View File

@@ -0,0 +1,9 @@
package config
type Cache struct {
Type string
RedisAddr string `mapstructure:"redis-addr"`
RedisPwd string `mapstructure:"redis-pwd"`
RedisDb int `mapstructure:"redis-db"`
FileDir string `mapstructure:"file-dir"`
}