sub2clash/model/rule_provider.go
2025-05-26 11:18:33 +00:00

15 lines
368 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"`
Format string `yaml:"format,omitempty"`
}
type Payload struct {
Rules []string `yaml:"payload,omitempty"`
}