8 lines
272 B
Go
8 lines
272 B
Go
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"`
|
|
}
|