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,13 @@ import (
|
||||
|
||||
type SocksParser struct{}
|
||||
|
||||
func (p *SocksParser) SupportClash() bool {
|
||||
return true
|
||||
}
|
||||
func (p *SocksParser) SupportMeta() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (p *SocksParser) GetPrefixes() []string {
|
||||
return []string{"socks://"}
|
||||
}
|
||||
|
Reference in New Issue
Block a user