mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-06-17 12:43:18 +08:00
modify ProxyParser interface
This commit is contained in:
@ -11,6 +11,14 @@ import (
|
||||
|
||||
type ShadowsocksRParser struct{}
|
||||
|
||||
func (p *ShadowsocksRParser) SupportClash() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (p *ShadowsocksRParser) SupportMeta() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (p *ShadowsocksRParser) GetPrefixes() []string {
|
||||
return []string{"ssr://"}
|
||||
}
|
||||
|
Reference in New Issue
Block a user