This commit is contained in:
C菌
2022-04-28 03:15:01 +08:00
parent c113e38d82
commit 94cd2ce218
28 changed files with 1059 additions and 14 deletions

View File

@@ -14,7 +14,9 @@ type Config struct {
}
type Server struct {
Addr string `yaml:"addr"`
Addr string `yaml:"addr"`
Domain string `yaml:"domain"`
Lru_Size int `yaml:"lru_size"`
}
type Log struct {
@@ -34,7 +36,7 @@ type Rotate struct {
}
type Data struct {
DB DB `yaml:"database"`
DB `yaml:"database"`
Redis `yaml:"redis"`
}