mirror of
https://github.com/nitezs/sub2clash.git
synced 2024-12-24 11:04:42 -05:00
14 lines
324 B
Go
14 lines
324 B
Go
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"`
|
|
}
|