fix memory cache.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package conf
|
||||
|
||||
import "git.apinb.com/bsm-sdk/core/vars"
|
||||
import (
|
||||
"git.apinb.com/bsm-sdk/core/vars"
|
||||
)
|
||||
|
||||
type Base struct {
|
||||
Service string `yaml:"Service"` // 服务名称
|
||||
@@ -93,3 +95,8 @@ type LogConf struct {
|
||||
File bool `yaml:"File"`
|
||||
Remote bool `yaml:"Remote"`
|
||||
}
|
||||
|
||||
type MemoryCacheConf struct {
|
||||
DefaultExpiration int `yaml:"DefaultExpiration"`
|
||||
CleanupInterval int `yaml:"CleanupInterval"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user