Versions in this module Expand all Collapse all v0 v0.2.7 Feb 15, 2024 Changes in this version + var ShadowSocksMethodOnlyBySing = []string + func EnableSingBox(rawUri string) bool + type ClientType string + const SingBox + const XrayCore + type IOutbound interface + Addr func() string + GetOutboundStr func() string + GetRawUri func() string + Parse func(string) + Port func() int + Scheme func() string + func GetOutbound(clientType ClientType, rawUri string) (result IOutbound) + type ProxyItem struct + Address string + Location string + Outbound string + OutboundType ClientType + Port int + RTT int64 + RawUri string + Scheme string + func NewItem(rawUri string) *ProxyItem + func NewItemByEncryptedRawUri(enRawUri string) (item *ProxyItem) + func ParseEncryptedRawUriToProxyItem(rawUri string, clientType ...ClientType) (p *ProxyItem) + func ParseRawUriToProxyItem(rawUri string, clientType ...ClientType) (p *ProxyItem) + func TransferProxyItem(oldProxyItem *ProxyItem, clientType ...ClientType) (newProxyItem *ProxyItem) + func (that *ProxyItem) GetHost() string + func (that *ProxyItem) GetOutbound() string + func (that *ProxyItem) GetOutboundType() ClientType + func (that *ProxyItem) String() string + type Result struct + SSRTotal int + SSTotal int + ShadowSocks []*ProxyItem + ShadowSocksR []*ProxyItem + Trojan []*ProxyItem + TrojanTotal int + UpdateAt string + Vless []*ProxyItem + VlessTotal int + Vmess []*ProxyItem + VmessTotal int + func NewResult() *Result + func (that *Result) AddItem(proxyItem *ProxyItem) + func (that *Result) Clear() + func (that *Result) GetTotalList() []*ProxyItem + func (that *Result) Len() int + func (that *Result) Load(fPath string) + func (that *Result) Save(fPath string)