forked from mirror/serenity
Remove unused code
This commit is contained in:
parent
e4d508b725
commit
962bc9c7be
@ -1,13 +1,11 @@
|
||||
package option
|
||||
|
||||
import (
|
||||
"github.com/sagernet/serenity/common/semver"
|
||||
C "github.com/sagernet/serenity/constant"
|
||||
"github.com/sagernet/sing-box/option"
|
||||
"github.com/sagernet/sing-dns"
|
||||
E "github.com/sagernet/sing/common/exceptions"
|
||||
"github.com/sagernet/sing/common/json"
|
||||
"github.com/sagernet/sing/common/json/badjson"
|
||||
)
|
||||
|
||||
type Template struct {
|
||||
@ -52,7 +50,6 @@ type Template struct {
|
||||
DisableDefaultRules bool `json:"disable_default_rules,omitempty"`
|
||||
PreRules []option.Rule `json:"pre_rules,omitempty"`
|
||||
CustomRules []option.Rule `json:"custom_rules,omitempty"`
|
||||
CustomRulesForVersionLessThan badjson.TypedMap[semver.Version, []option.Rule] `json:"custom_rules_for_version_less_than,omitempty"`
|
||||
EnableJSDelivr bool `json:"enable_jsdelivr,omitempty"`
|
||||
CustomGeoIP *option.GeoIPOptions `json:"custom_geoip,omitempty"`
|
||||
CustomGeosite *option.GeositeOptions `json:"custom_geosite,omitempty"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user