mirror of
https://github.com/eolinker/apinto
synced 2025-10-05 16:57:03 +08:00
13 lines
532 B
Go
13 lines
532 B
Go
package cache_strategy
|
|
|
|
import "github.com/eolinker/apinto/strategy"
|
|
|
|
type Config struct {
|
|
Name string `json:"name" skip:"skip"`
|
|
Description string `json:"description" skip:"skip"`
|
|
Stop bool `json:"stop"`
|
|
Priority int `json:"priority" label:"优先级" description:"1-999"`
|
|
Filters strategy.FilterConfig `json:"filters" label:"过滤规则"`
|
|
ValidTime int `json:"valid_time" label:"有效期" description:"有效期"`
|
|
}
|