Documentation ¶
Index ¶
- Variables
- func ParseSingBoxPathToURL(pathStr string) (result *url.URL)
- func PrepareStreamStr(cnf *gjson.Json, sf *parser.StreamField) (result *gjson.Json)
- func SetPathForSingBoxTransport(pathStr string, j *gjson.Json)
- func TestSS()
- func TestSSR()
- func TestTrojan()
- func TestVless()
- func TestVmess()
- type SShadowSocksOut
- type SShadowSocksROut
- type STrojanOut
- type SVlessOut
- type SVmessOut
- type SWireguardOut
Constants ¶
This section is empty.
Variables ¶
View Source
var SingGRPC string = `{
"type": "grpc",
"service_name": ""
}`
View Source
var SingHTTPHeaders string = `{
"Host": []
}`
View Source
var SingHTTPandTCP string = `{
"type": "http",
"host": [],
"path": ""
}`
View Source
var SingReality string = `{
"enabled": false,
"public_key": "",
"short_id": ""
}`
View Source
var SingSS string = `` /* 169-byte string literal not displayed */
View Source
var SingSSR string = `` /* 159-byte string literal not displayed */
View Source
var SingTLS string = `{
"enabled": true,
"disable_sni": false,
"server_name": "",
"insecure": false,
}`
View Source
var SingTrojan string = `` /* 130-byte string literal not displayed */
View Source
var SingVless string = `` /* 149-byte string literal not displayed */
View Source
var SingVmess string = `` /* 172-byte string literal not displayed */
View Source
var SingWebSocket string = `{
"type": "ws",
"path": ""
}`
View Source
var SingWebsocketHeaders string = `{
"Host": ""
}`
View Source
var SingWireguard string = `` /* 393-byte string literal not displayed */
View Source
var SinguTLS string = `{
"enabled": false,
"fingerprint": ""
}`
Functions ¶
func ParseSingBoxPathToURL ¶
func PrepareStreamStr ¶
func TestTrojan ¶
func TestTrojan()
Types ¶
type SShadowSocksOut ¶
type SShadowSocksOut struct { RawUri string Parser *parser.ParserSS // contains filtered or unexported fields }
func (*SShadowSocksOut) Addr ¶
func (that *SShadowSocksOut) Addr() string
func (*SShadowSocksOut) GetOutboundStr ¶
func (that *SShadowSocksOut) GetOutboundStr() string
func (*SShadowSocksOut) GetRawUri ¶
func (that *SShadowSocksOut) GetRawUri() string
func (*SShadowSocksOut) Parse ¶
func (that *SShadowSocksOut) Parse(rawUri string)
func (*SShadowSocksOut) Port ¶
func (that *SShadowSocksOut) Port() int
func (*SShadowSocksOut) Scheme ¶
func (that *SShadowSocksOut) Scheme() string
type SShadowSocksROut ¶
type SShadowSocksROut struct { RawUri string Parser *parser.ParserSSR // contains filtered or unexported fields }
func (*SShadowSocksROut) Addr ¶
func (that *SShadowSocksROut) Addr() string
func (*SShadowSocksROut) GetOutboundStr ¶
func (that *SShadowSocksROut) GetOutboundStr() string
func (*SShadowSocksROut) GetRawUri ¶
func (that *SShadowSocksROut) GetRawUri() string
func (*SShadowSocksROut) Parse ¶
func (that *SShadowSocksROut) Parse(rawUri string)
func (*SShadowSocksROut) Port ¶
func (that *SShadowSocksROut) Port() int
func (*SShadowSocksROut) Scheme ¶
func (that *SShadowSocksROut) Scheme() string
type STrojanOut ¶
type STrojanOut struct { RawUri string Parser *parser.ParserTrojan // contains filtered or unexported fields }
func (*STrojanOut) Addr ¶
func (that *STrojanOut) Addr() string
func (*STrojanOut) GetOutboundStr ¶
func (that *STrojanOut) GetOutboundStr() string
func (*STrojanOut) GetRawUri ¶
func (that *STrojanOut) GetRawUri() string
func (*STrojanOut) Parse ¶
func (that *STrojanOut) Parse(rawUri string)
func (*STrojanOut) Port ¶
func (that *STrojanOut) Port() int
func (*STrojanOut) Scheme ¶
func (that *STrojanOut) Scheme() string
type SVlessOut ¶
type SVlessOut struct { RawUri string Parser *parser.ParserVless // contains filtered or unexported fields }
func (*SVlessOut) GetOutboundStr ¶
type SVmessOut ¶
type SVmessOut struct { RawUri string Parser *parser.ParserVmess // contains filtered or unexported fields }
func (*SVmessOut) GetOutboundStr ¶
type SWireguardOut ¶
type SWireguardOut struct { RawUri string Parser *parser.ParserWirguard // contains filtered or unexported fields }
func (*SWireguardOut) Addr ¶
func (that *SWireguardOut) Addr() string
func (*SWireguardOut) GetOutboundStr ¶
func (that *SWireguardOut) GetOutboundStr() string
func (*SWireguardOut) GetRawUri ¶
func (that *SWireguardOut) GetRawUri() string
func (*SWireguardOut) Parse ¶
func (that *SWireguardOut) Parse(rawUri string)
func (*SWireguardOut) Port ¶
func (that *SWireguardOut) Port() int
func (*SWireguardOut) Scheme ¶
func (that *SWireguardOut) Scheme() string
Click to show internal directories.
Click to hide internal directories.