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 Hysteria2Parser struct{}
|
||||
|
||||
func (p *Hysteria2Parser) SupportClash() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (p *Hysteria2Parser) SupportMeta() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (p *Hysteria2Parser) GetPrefixes() []string {
|
||||
return []string{"hysteria2://", "hy2://"}
|
||||
}
|
||||
|
Reference in New Issue
Block a user