1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-25 00:24:41 -05:00
sub2clash/model/rule_provider.go

14 lines
324 B
Go
Raw Normal View History

package model
type RuleProvider struct {
Type string `yaml:"type,omitempty"`
Behavior string `yaml:"behavior,omitempty"`
Url string `yaml:"url,omitempty"`
Path string `yaml:"path,omitempty"`
Interval int `yaml:"interval,omitempty"`
}
type Payload struct {
Rules []string `yaml:"payload,omitempty"`
}