Drop SifCap

No longer used, keep sifcap.go for reference.

Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
2023-04-10 01:25:08 +08:00
parent fb4c5009e2
commit 8a69a9391b
4 changed files with 72 additions and 85 deletions
-8
View File
@@ -18,7 +18,6 @@ type AppConfigs struct {
Server ServerConfigs `yaml:"server"`
Log LogConfigs `yaml:"log"`
LevelDb LevelDbConfigs `yaml:"leveldb"`
SifCap SifCapConfigs `yaml:"sifcap"`
}
type ServerConfigs struct {
@@ -38,10 +37,6 @@ type LevelDbConfigs struct {
DataPath string `yaml:"data_path"`
}
type SifCapConfigs struct {
Enabled bool `yaml:"enabled"`
}
func DefaultConfigs() *AppConfigs {
return &AppConfigs{
AppName: "LL! SIF Private Server",
@@ -59,9 +54,6 @@ func DefaultConfigs() *AppConfigs {
LevelDb: LevelDbConfigs{
DataPath: "./data/honoka-chan.db",
},
SifCap: SifCapConfigs{
Enabled: false,
},
}
}