mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-11 22:39:41 +08:00
feat: exec command hook , close #79
This commit is contained in:
7
config/cache.go
Normal file
7
config/cache.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package config
|
||||
|
||||
type cacheConfig struct {
|
||||
TTL int64 `toml:"ttl" mapstructure:"ttl" json:"ttl"`
|
||||
NumCounters int64 `toml:"num_counters" mapstructure:"num_counters" json:"num_counters"`
|
||||
MaxCost int64 `toml:"max_cost" mapstructure:"max_cost" json:"max_cost"`
|
||||
}
|
||||
Reference in New Issue
Block a user