Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientType ¶
type ClientType string
const ( XrayCore ClientType = "xray" SingBox ClientType = "sing" )
type IOutbound ¶
type IOutbound interface {
Parse(string)
Addr() string
Port() int
Scheme() string
GetOutboundStr() string
GetRawUri() string
}
func GetOutbound ¶
func GetOutbound(clientType ClientType, rawUri string) (result IOutbound)
type ProxyItem ¶ added in v0.0.2
type ProxyItem struct {
Address string `json:"address"`
Port int `json:"port"`
RTT int64 `json:"rtt"`
RawUri string `json:"raw_uri"`
Outbound string `json:"outbound"`
OutboundType ClientType `json:"outbound_type"`
}
func NewItemByEncryptedRawUri ¶ added in v0.0.2
func (*ProxyItem) GetOutbound ¶ added in v0.0.2
func (*ProxyItem) GetOutboundType ¶ added in v0.0.2
func (that *ProxyItem) GetOutboundType() ClientType
Click to show internal directories.
Click to hide internal directories.