Documentation
¶
Index ¶
- Constants
- Variables
- type BootstrapDnsWarp
- type BootstrapDnsWarp_builder
- type Direct
- func (x *Direct) ClearNetworkInterface()
- func (x *Direct) GetNetworkInterface() string
- func (x *Direct) HasNetworkInterface() bool
- func (*Direct) ProtoMessage()
- func (x *Direct) ProtoReflect() protoreflect.Message
- func (x *Direct) Reset()
- func (x *Direct) SetNetworkInterface(v string)
- func (x *Direct) String() string
- type Direct_builder
- type Drop
- type Drop_builder
- type Grpc
- type Grpc_builder
- type Host
- func (x *Host) ClearHost()
- func (x *Host) ClearPort()
- func (x *Host) GetHost() string
- func (x *Host) GetPort() int32
- func (x *Host) HasHost() bool
- func (x *Host) HasPort() bool
- func (*Host) ProtoMessage()
- func (x *Host) ProtoReflect() protoreflect.Message
- func (x *Host) Reset()
- func (x *Host) SetHost(v string)
- func (x *Host) SetPort(v int32)
- func (x *Host) String() string
- type Host_builder
- type Http
- func (x *Http) ClearPassword()
- func (x *Http) ClearUser()
- func (x *Http) GetPassword() string
- func (x *Http) GetUser() string
- func (x *Http) HasPassword() bool
- func (x *Http) HasUser() bool
- func (*Http) ProtoMessage()
- func (x *Http) ProtoReflect() protoreflect.Message
- func (x *Http) Reset()
- func (x *Http) SetPassword(v string)
- func (x *Http) SetUser(v string)
- func (x *Http) String() string
- type Http2
- type Http2_builder
- type Http_builder
- type Mux
- type Mux_builder
- type None
- type None_builder
- type ObfsHttp
- func (x *ObfsHttp) ClearHost()
- func (x *ObfsHttp) ClearPort()
- func (x *ObfsHttp) GetHost() string
- func (x *ObfsHttp) GetPort() string
- func (x *ObfsHttp) HasHost() bool
- func (x *ObfsHttp) HasPort() bool
- func (*ObfsHttp) ProtoMessage()
- func (x *ObfsHttp) ProtoReflect() protoreflect.Message
- func (x *ObfsHttp) Reset()
- func (x *ObfsHttp) SetHost(v string)
- func (x *ObfsHttp) SetPort(v string)
- func (x *ObfsHttp) String() string
- type ObfsHttp_builder
- type Protocol
- func (x *Protocol) ClearBootstrapDnsWarp()
- func (x *Protocol) ClearDirect()
- func (x *Protocol) ClearDrop()
- func (x *Protocol) ClearGrpc()
- func (x *Protocol) ClearHttp()
- func (x *Protocol) ClearHttp2()
- func (x *Protocol) ClearMux()
- func (x *Protocol) ClearNone()
- func (x *Protocol) ClearObfsHttp()
- func (x *Protocol) ClearProtocol()
- func (x *Protocol) ClearQuic()
- func (x *Protocol) ClearReality()
- func (x *Protocol) ClearReject()
- func (x *Protocol) ClearShadowsocks()
- func (x *Protocol) ClearShadowsocksr()
- func (x *Protocol) ClearSimple()
- func (x *Protocol) ClearSocks5()
- func (x *Protocol) ClearTls()
- func (x *Protocol) ClearTrojan()
- func (x *Protocol) ClearVless()
- func (x *Protocol) ClearVmess()
- func (x *Protocol) ClearWebsocket()
- func (x *Protocol) ClearWireguard()
- func (x *Protocol) ClearYuubinsya()
- func (x *Protocol) GetBootstrapDnsWarp() *BootstrapDnsWarp
- func (x *Protocol) GetDirect() *Direct
- func (x *Protocol) GetDrop() *Drop
- func (x *Protocol) GetGrpc() *Grpc
- func (x *Protocol) GetHttp() *Http
- func (x *Protocol) GetHttp2() *Http2
- func (x *Protocol) GetMux() *Mux
- func (x *Protocol) GetNone() *None
- func (x *Protocol) GetObfsHttp() *ObfsHttp
- func (x *Protocol) GetQuic() *Quic
- func (x *Protocol) GetReality() *Reality
- func (x *Protocol) GetReject() *Reject
- func (x *Protocol) GetShadowsocks() *Shadowsocks
- func (x *Protocol) GetShadowsocksr() *Shadowsocksr
- func (x *Protocol) GetSimple() *Simple
- func (x *Protocol) GetSocks5() *Socks5
- func (x *Protocol) GetTls() *TlsConfig
- func (x *Protocol) GetTrojan() *Trojan
- func (x *Protocol) GetVless() *Vless
- func (x *Protocol) GetVmess() *Vmess
- func (x *Protocol) GetWebsocket() *Websocket
- func (x *Protocol) GetWireguard() *Wireguard
- func (x *Protocol) GetYuubinsya() *Yuubinsya
- func (x *Protocol) HasBootstrapDnsWarp() bool
- func (x *Protocol) HasDirect() bool
- func (x *Protocol) HasDrop() bool
- func (x *Protocol) HasGrpc() bool
- func (x *Protocol) HasHttp() bool
- func (x *Protocol) HasHttp2() bool
- func (x *Protocol) HasMux() bool
- func (x *Protocol) HasNone() bool
- func (x *Protocol) HasObfsHttp() bool
- func (x *Protocol) HasProtocol() bool
- func (x *Protocol) HasQuic() bool
- func (x *Protocol) HasReality() bool
- func (x *Protocol) HasReject() bool
- func (x *Protocol) HasShadowsocks() bool
- func (x *Protocol) HasShadowsocksr() bool
- func (x *Protocol) HasSimple() bool
- func (x *Protocol) HasSocks5() bool
- func (x *Protocol) HasTls() bool
- func (x *Protocol) HasTrojan() bool
- func (x *Protocol) HasVless() bool
- func (x *Protocol) HasVmess() bool
- func (x *Protocol) HasWebsocket() bool
- func (x *Protocol) HasWireguard() bool
- func (x *Protocol) HasYuubinsya() bool
- func (*Protocol) ProtoMessage()
- func (x *Protocol) ProtoReflect() protoreflect.Message
- func (x *Protocol) Reset()
- func (x *Protocol) SetBootstrapDnsWarp(v *BootstrapDnsWarp)
- func (x *Protocol) SetDirect(v *Direct)
- func (x *Protocol) SetDrop(v *Drop)
- func (x *Protocol) SetGrpc(v *Grpc)
- func (x *Protocol) SetHttp(v *Http)
- func (x *Protocol) SetHttp2(v *Http2)
- func (x *Protocol) SetMux(v *Mux)
- func (x *Protocol) SetNone(v *None)
- func (x *Protocol) SetObfsHttp(v *ObfsHttp)
- func (x *Protocol) SetQuic(v *Quic)
- func (x *Protocol) SetReality(v *Reality)
- func (x *Protocol) SetReject(v *Reject)
- func (x *Protocol) SetShadowsocks(v *Shadowsocks)
- func (x *Protocol) SetShadowsocksr(v *Shadowsocksr)
- func (x *Protocol) SetSimple(v *Simple)
- func (x *Protocol) SetSocks5(v *Socks5)
- func (x *Protocol) SetTls(v *TlsConfig)
- func (x *Protocol) SetTrojan(v *Trojan)
- func (x *Protocol) SetVless(v *Vless)
- func (x *Protocol) SetVmess(v *Vmess)
- func (x *Protocol) SetWebsocket(v *Websocket)
- func (x *Protocol) SetWireguard(v *Wireguard)
- func (x *Protocol) SetYuubinsya(v *Yuubinsya)
- func (x *Protocol) String() string
- func (x *Protocol) WhichProtocol() case_Protocol_Protocol
- type Protocol_builder
- type Quic
- func (x *Quic) ClearHost()
- func (x *Quic) ClearTls()
- func (x *Quic) GetHost() string
- func (x *Quic) GetTls() *TlsConfig
- func (x *Quic) HasHost() bool
- func (x *Quic) HasTls() bool
- func (*Quic) ProtoMessage()
- func (x *Quic) ProtoReflect() protoreflect.Message
- func (x *Quic) Reset()
- func (x *Quic) SetHost(v string)
- func (x *Quic) SetTls(v *TlsConfig)
- func (x *Quic) String() string
- type Quic_builder
- type Reality
- func (x *Reality) ClearDebug()
- func (x *Reality) ClearPublicKey()
- func (x *Reality) ClearServerName()
- func (x *Reality) ClearShortId()
- func (x *Reality) GetDebug() bool
- func (x *Reality) GetPublicKey() string
- func (x *Reality) GetServerName() string
- func (x *Reality) GetShortId() string
- func (x *Reality) HasDebug() bool
- func (x *Reality) HasPublicKey() bool
- func (x *Reality) HasServerName() bool
- func (x *Reality) HasShortId() bool
- func (*Reality) ProtoMessage()
- func (x *Reality) ProtoReflect() protoreflect.Message
- func (x *Reality) Reset()
- func (x *Reality) SetDebug(v bool)
- func (x *Reality) SetPublicKey(v string)
- func (x *Reality) SetServerName(v string)
- func (x *Reality) SetShortId(v string)
- func (x *Reality) String() string
- type Reality_builder
- type Reject
- type Reject_builder
- type Shadowsocks
- func (x *Shadowsocks) ClearMethod()
- func (x *Shadowsocks) ClearPassword()
- func (x *Shadowsocks) GetMethod() string
- func (x *Shadowsocks) GetPassword() string
- func (x *Shadowsocks) HasMethod() bool
- func (x *Shadowsocks) HasPassword() bool
- func (*Shadowsocks) ProtoMessage()
- func (x *Shadowsocks) ProtoReflect() protoreflect.Message
- func (x *Shadowsocks) Reset()
- func (x *Shadowsocks) SetMethod(v string)
- func (x *Shadowsocks) SetPassword(v string)
- func (x *Shadowsocks) String() string
- type Shadowsocks_builder
- type Shadowsocksr
- func (x *Shadowsocksr) ClearMethod()
- func (x *Shadowsocksr) ClearObfs()
- func (x *Shadowsocksr) ClearObfsparam()
- func (x *Shadowsocksr) ClearPassword()
- func (x *Shadowsocksr) ClearPort()
- func (x *Shadowsocksr) ClearProtocol()
- func (x *Shadowsocksr) ClearProtoparam()
- func (x *Shadowsocksr) ClearServer()
- func (x *Shadowsocksr) GetMethod() string
- func (x *Shadowsocksr) GetObfs() string
- func (x *Shadowsocksr) GetObfsparam() string
- func (x *Shadowsocksr) GetPassword() string
- func (x *Shadowsocksr) GetPort() string
- func (x *Shadowsocksr) GetProtocol() string
- func (x *Shadowsocksr) GetProtoparam() string
- func (x *Shadowsocksr) GetServer() string
- func (x *Shadowsocksr) HasMethod() bool
- func (x *Shadowsocksr) HasObfs() bool
- func (x *Shadowsocksr) HasObfsparam() bool
- func (x *Shadowsocksr) HasPassword() bool
- func (x *Shadowsocksr) HasPort() bool
- func (x *Shadowsocksr) HasProtocol() bool
- func (x *Shadowsocksr) HasProtoparam() bool
- func (x *Shadowsocksr) HasServer() bool
- func (*Shadowsocksr) ProtoMessage()
- func (x *Shadowsocksr) ProtoReflect() protoreflect.Message
- func (x *Shadowsocksr) Reset()
- func (x *Shadowsocksr) SetMethod(v string)
- func (x *Shadowsocksr) SetObfs(v string)
- func (x *Shadowsocksr) SetObfsparam(v string)
- func (x *Shadowsocksr) SetPassword(v string)
- func (x *Shadowsocksr) SetPort(v string)
- func (x *Shadowsocksr) SetProtocol(v string)
- func (x *Shadowsocksr) SetProtoparam(v string)
- func (x *Shadowsocksr) SetServer(v string)
- func (x *Shadowsocksr) String() string
- type Shadowsocksr_builder
- type Simple
- func (x *Simple) ClearHost()
- func (x *Simple) ClearNetworkInterface()
- func (x *Simple) ClearPort()
- func (x *Simple) GetAlternateHost() []*Host
- func (x *Simple) GetHost() string
- func (x *Simple) GetNetworkInterface() string
- func (x *Simple) GetPort() int32
- func (x *Simple) HasHost() bool
- func (x *Simple) HasNetworkInterface() bool
- func (x *Simple) HasPort() bool
- func (*Simple) ProtoMessage()
- func (x *Simple) ProtoReflect() protoreflect.Message
- func (x *Simple) Reset()
- func (x *Simple) SetAlternateHost(v []*Host)
- func (x *Simple) SetHost(v string)
- func (x *Simple) SetNetworkInterface(v string)
- func (x *Simple) SetPort(v int32)
- func (x *Simple) String() string
- type Simple_builder
- type Socks5
- func (x *Socks5) ClearHostname()
- func (x *Socks5) ClearOverridePort()
- func (x *Socks5) ClearPassword()
- func (x *Socks5) ClearUser()
- func (x *Socks5) GetHostname() string
- func (x *Socks5) GetOverridePort() uint32
- func (x *Socks5) GetPassword() string
- func (x *Socks5) GetUser() string
- func (x *Socks5) HasHostname() bool
- func (x *Socks5) HasOverridePort() bool
- func (x *Socks5) HasPassword() bool
- func (x *Socks5) HasUser() bool
- func (*Socks5) ProtoMessage()
- func (x *Socks5) ProtoReflect() protoreflect.Message
- func (x *Socks5) Reset()
- func (x *Socks5) SetHostname(v string)
- func (x *Socks5) SetOverridePort(v uint32)
- func (x *Socks5) SetPassword(v string)
- func (x *Socks5) SetUser(v string)
- func (x *Socks5) String() string
- type Socks5_builder
- type TlsConfig
- func (x *TlsConfig) ClearEchConfig()
- func (x *TlsConfig) ClearEnable()
- func (x *TlsConfig) ClearInsecureSkipVerify()
- func (x *TlsConfig) GetCaCert() [][]byte
- func (x *TlsConfig) GetEchConfig() []byte
- func (x *TlsConfig) GetEnable() bool
- func (x *TlsConfig) GetInsecureSkipVerify() bool
- func (x *TlsConfig) GetNextProtos() []string
- func (x *TlsConfig) GetServerNames() []string
- func (x *TlsConfig) HasEchConfig() bool
- func (x *TlsConfig) HasEnable() bool
- func (x *TlsConfig) HasInsecureSkipVerify() bool
- func (*TlsConfig) ProtoMessage()
- func (x *TlsConfig) ProtoReflect() protoreflect.Message
- func (x *TlsConfig) Reset()
- func (x *TlsConfig) SetCaCert(v [][]byte)
- func (x *TlsConfig) SetEchConfig(v []byte)
- func (x *TlsConfig) SetEnable(v bool)
- func (x *TlsConfig) SetInsecureSkipVerify(v bool)
- func (x *TlsConfig) SetNextProtos(v []string)
- func (x *TlsConfig) SetServerNames(v []string)
- func (x *TlsConfig) String() string
- type TlsConfig_builder
- type Trojan
- func (x *Trojan) ClearPassword()
- func (x *Trojan) ClearPeer()
- func (x *Trojan) GetPassword() string
- func (x *Trojan) GetPeer() string
- func (x *Trojan) HasPassword() bool
- func (x *Trojan) HasPeer() bool
- func (*Trojan) ProtoMessage()
- func (x *Trojan) ProtoReflect() protoreflect.Message
- func (x *Trojan) Reset()
- func (x *Trojan) SetPassword(v string)
- func (x *Trojan) SetPeer(v string)
- func (x *Trojan) String() string
- type Trojan_builder
- type Vless
- type Vless_builder
- type Vmess
- func (x *Vmess) ClearAlterId()
- func (x *Vmess) ClearSecurity()
- func (x *Vmess) ClearUuid()
- func (x *Vmess) GetAlterId() string
- func (x *Vmess) GetSecurity() string
- func (x *Vmess) GetUuid() string
- func (x *Vmess) HasAlterId() bool
- func (x *Vmess) HasSecurity() bool
- func (x *Vmess) HasUuid() bool
- func (*Vmess) ProtoMessage()
- func (x *Vmess) ProtoReflect() protoreflect.Message
- func (x *Vmess) Reset()
- func (x *Vmess) SetAlterId(v string)
- func (x *Vmess) SetSecurity(v string)
- func (x *Vmess) SetUuid(v string)
- func (x *Vmess) String() string
- type Vmess_builder
- type Websocket
- func (x *Websocket) ClearHost()
- func (x *Websocket) ClearPath()
- func (x *Websocket) GetHost() string
- func (x *Websocket) GetPath() string
- func (x *Websocket) HasHost() bool
- func (x *Websocket) HasPath() bool
- func (*Websocket) ProtoMessage()
- func (x *Websocket) ProtoReflect() protoreflect.Message
- func (x *Websocket) Reset()
- func (x *Websocket) SetHost(v string)
- func (x *Websocket) SetPath(v string)
- func (x *Websocket) String() string
- type Websocket_builder
- type Wireguard
- func (x *Wireguard) ClearIdleTimeout()
- func (x *Wireguard) ClearMtu()
- func (x *Wireguard) ClearReserved()
- func (x *Wireguard) ClearSecretKey()
- func (x *Wireguard) GetEndpoint() []string
- func (x *Wireguard) GetIdleTimeout() int32
- func (x *Wireguard) GetMtu() int32
- func (x *Wireguard) GetPeers() []*WireguardPeerConfig
- func (x *Wireguard) GetReserved() []byte
- func (x *Wireguard) GetSecretKey() string
- func (x *Wireguard) HasIdleTimeout() bool
- func (x *Wireguard) HasMtu() bool
- func (x *Wireguard) HasReserved() bool
- func (x *Wireguard) HasSecretKey() bool
- func (*Wireguard) ProtoMessage()
- func (x *Wireguard) ProtoReflect() protoreflect.Message
- func (x *Wireguard) Reset()
- func (x *Wireguard) SetEndpoint(v []string)
- func (x *Wireguard) SetIdleTimeout(v int32)
- func (x *Wireguard) SetMtu(v int32)
- func (x *Wireguard) SetPeers(v []*WireguardPeerConfig)
- func (x *Wireguard) SetReserved(v []byte)
- func (x *Wireguard) SetSecretKey(v string)
- func (x *Wireguard) String() string
- type WireguardPeerConfig
- func (x *WireguardPeerConfig) ClearEndpoint()
- func (x *WireguardPeerConfig) ClearKeepAlive()
- func (x *WireguardPeerConfig) ClearPreSharedKey()
- func (x *WireguardPeerConfig) ClearPublicKey()
- func (x *WireguardPeerConfig) GetAllowedIps() []string
- func (x *WireguardPeerConfig) GetEndpoint() string
- func (x *WireguardPeerConfig) GetKeepAlive() int32
- func (x *WireguardPeerConfig) GetPreSharedKey() string
- func (x *WireguardPeerConfig) GetPublicKey() string
- func (x *WireguardPeerConfig) HasEndpoint() bool
- func (x *WireguardPeerConfig) HasKeepAlive() bool
- func (x *WireguardPeerConfig) HasPreSharedKey() bool
- func (x *WireguardPeerConfig) HasPublicKey() bool
- func (*WireguardPeerConfig) ProtoMessage()
- func (x *WireguardPeerConfig) ProtoReflect() protoreflect.Message
- func (x *WireguardPeerConfig) Reset()
- func (x *WireguardPeerConfig) SetAllowedIps(v []string)
- func (x *WireguardPeerConfig) SetEndpoint(v string)
- func (x *WireguardPeerConfig) SetKeepAlive(v int32)
- func (x *WireguardPeerConfig) SetPreSharedKey(v string)
- func (x *WireguardPeerConfig) SetPublicKey(v string)
- func (x *WireguardPeerConfig) String() string
- type WireguardPeerConfig_builder
- type Wireguard_builder
- type Yuubinsya
- func (x *Yuubinsya) ClearPassword()
- func (x *Yuubinsya) ClearTcpEncrypt()
- func (x *Yuubinsya) ClearUdpEncrypt()
- func (x *Yuubinsya) ClearUdpOverStream()
- func (x *Yuubinsya) GetPassword() string
- func (x *Yuubinsya) GetTcpEncrypt() bool
- func (x *Yuubinsya) GetUdpEncrypt() bool
- func (x *Yuubinsya) GetUdpOverStream() bool
- func (x *Yuubinsya) HasPassword() bool
- func (x *Yuubinsya) HasTcpEncrypt() bool
- func (x *Yuubinsya) HasUdpEncrypt() bool
- func (x *Yuubinsya) HasUdpOverStream() bool
- func (*Yuubinsya) ProtoMessage()
- func (x *Yuubinsya) ProtoReflect() protoreflect.Message
- func (x *Yuubinsya) Reset()
- func (x *Yuubinsya) SetPassword(v string)
- func (x *Yuubinsya) SetTcpEncrypt(v bool)
- func (x *Yuubinsya) SetUdpEncrypt(v bool)
- func (x *Yuubinsya) SetUdpOverStream(v bool)
- func (x *Yuubinsya) String() string
- type Yuubinsya_builder
Constants ¶
View Source
const Protocol_BootstrapDnsWarp_case case_Protocol_Protocol = 23
View Source
const Protocol_Direct_case case_Protocol_Protocol = 12
View Source
const Protocol_Drop_case case_Protocol_Protocol = 21
View Source
const Protocol_Grpc_case case_Protocol_Protocol = 15
View Source
const Protocol_Http2_case case_Protocol_Protocol = 16
View Source
const Protocol_Http_case case_Protocol_Protocol = 11
View Source
const Protocol_Mux_case case_Protocol_Protocol = 20
View Source
const Protocol_None_case case_Protocol_Protocol = 9
View Source
const Protocol_ObfsHttp_case case_Protocol_Protocol = 6
View Source
const Protocol_Protocol_not_set_case case_Protocol_Protocol = 0
View Source
const Protocol_Quic_case case_Protocol_Protocol = 5
View Source
const Protocol_Reality_case case_Protocol_Protocol = 17
View Source
const Protocol_Reject_case case_Protocol_Protocol = 13
View Source
const Protocol_Shadowsocks_case case_Protocol_Protocol = 1
View Source
const Protocol_Shadowsocksr_case case_Protocol_Protocol = 2
View Source
const Protocol_Simple_case case_Protocol_Protocol = 8
View Source
const Protocol_Socks5_case case_Protocol_Protocol = 10
View Source
const Protocol_Tls_case case_Protocol_Protocol = 18
View Source
const Protocol_Trojan_case case_Protocol_Protocol = 7
View Source
const Protocol_Vless_case case_Protocol_Protocol = 22
View Source
const Protocol_Vmess_case case_Protocol_Protocol = 3
View Source
const Protocol_Websocket_case case_Protocol_Protocol = 4
View Source
const Protocol_Wireguard_case case_Protocol_Protocol = 19
View Source
const Protocol_Yuubinsya_case case_Protocol_Protocol = 14
Variables ¶
View Source
var File_node_protocol_protocol_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BootstrapDnsWarp ¶ added in v0.3.8
type BootstrapDnsWarp struct {
// contains filtered or unexported fields
}
func (*BootstrapDnsWarp) ProtoMessage ¶ added in v0.3.8
func (*BootstrapDnsWarp) ProtoMessage()
func (*BootstrapDnsWarp) ProtoReflect ¶ added in v0.3.8
func (x *BootstrapDnsWarp) ProtoReflect() protoreflect.Message
func (*BootstrapDnsWarp) Reset ¶ added in v0.3.8
func (x *BootstrapDnsWarp) Reset()
func (*BootstrapDnsWarp) String ¶ added in v0.3.8
func (x *BootstrapDnsWarp) String() string
type BootstrapDnsWarp_builder ¶ added in v0.3.8
type BootstrapDnsWarp_builder struct {
// contains filtered or unexported fields
}
func (BootstrapDnsWarp_builder) Build ¶ added in v0.3.8
func (b0 BootstrapDnsWarp_builder) Build() *BootstrapDnsWarp
type Direct ¶
type Direct struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Direct) ClearNetworkInterface ¶ added in v0.3.8
func (x *Direct) ClearNetworkInterface()
func (*Direct) GetNetworkInterface ¶ added in v0.3.8
func (*Direct) HasNetworkInterface ¶ added in v0.3.8
func (*Direct) ProtoMessage ¶
func (*Direct) ProtoMessage()
func (*Direct) ProtoReflect ¶
func (x *Direct) ProtoReflect() protoreflect.Message
func (*Direct) SetNetworkInterface ¶ added in v0.3.8
type Direct_builder ¶ added in v0.3.8
type Direct_builder struct {
NetworkInterface *string
// contains filtered or unexported fields
}
func (Direct_builder) Build ¶ added in v0.3.8
func (b0 Direct_builder) Build() *Direct
type Drop ¶
type Drop struct {
// contains filtered or unexported fields
}
func (*Drop) ProtoMessage ¶
func (*Drop) ProtoMessage()
func (*Drop) ProtoReflect ¶
func (x *Drop) ProtoReflect() protoreflect.Message
type Drop_builder ¶ added in v0.3.8
type Drop_builder struct {
// contains filtered or unexported fields
}
func (Drop_builder) Build ¶ added in v0.3.8
func (b0 Drop_builder) Build() *Drop
type Grpc ¶
type Grpc struct {
// contains filtered or unexported fields
}
func (*Grpc) ProtoMessage ¶
func (*Grpc) ProtoMessage()
func (*Grpc) ProtoReflect ¶
func (x *Grpc) ProtoReflect() protoreflect.Message
type Grpc_builder ¶ added in v0.3.8
type Grpc_builder struct {
Tls *TlsConfig
// contains filtered or unexported fields
}
func (Grpc_builder) Build ¶ added in v0.3.8
func (b0 Grpc_builder) Build() *Grpc
type Host ¶
type Host struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) ProtoReflect ¶
func (x *Host) ProtoReflect() protoreflect.Message
type Host_builder ¶ added in v0.3.8
func (Host_builder) Build ¶ added in v0.3.8
func (b0 Host_builder) Build() *Host
type Http ¶
type Http struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Http) ClearPassword ¶ added in v0.3.8
func (x *Http) ClearPassword()
func (*Http) GetPassword ¶
func (*Http) HasPassword ¶ added in v0.3.8
func (*Http) ProtoMessage ¶
func (*Http) ProtoMessage()
func (*Http) ProtoReflect ¶
func (x *Http) ProtoReflect() protoreflect.Message
func (*Http) SetPassword ¶ added in v0.3.8
type Http2 ¶
type Http2 struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Http2) ClearConcurrency ¶ added in v0.3.8
func (x *Http2) ClearConcurrency()
func (*Http2) GetConcurrency ¶
func (*Http2) HasConcurrency ¶ added in v0.3.8
func (*Http2) ProtoMessage ¶
func (*Http2) ProtoMessage()
func (*Http2) ProtoReflect ¶
func (x *Http2) ProtoReflect() protoreflect.Message
func (*Http2) SetConcurrency ¶ added in v0.3.8
type Http2_builder ¶ added in v0.3.8
type Http2_builder struct {
Concurrency *int32
// contains filtered or unexported fields
}
func (Http2_builder) Build ¶ added in v0.3.8
func (b0 Http2_builder) Build() *Http2
type Http_builder ¶ added in v0.3.8
type Http_builder struct {
User *string
Password *string
// contains filtered or unexported fields
}
func (Http_builder) Build ¶ added in v0.3.8
func (b0 Http_builder) Build() *Http
type Mux ¶
type Mux struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Mux) ClearConcurrency ¶ added in v0.3.8
func (x *Mux) ClearConcurrency()
func (*Mux) GetConcurrency ¶
func (*Mux) HasConcurrency ¶ added in v0.3.8
func (*Mux) ProtoMessage ¶
func (*Mux) ProtoMessage()
func (*Mux) ProtoReflect ¶
func (x *Mux) ProtoReflect() protoreflect.Message
func (*Mux) SetConcurrency ¶ added in v0.3.8
type Mux_builder ¶ added in v0.3.8
type Mux_builder struct {
Concurrency *int32
// contains filtered or unexported fields
}
func (Mux_builder) Build ¶ added in v0.3.8
func (b0 Mux_builder) Build() *Mux
type None ¶
type None struct {
// contains filtered or unexported fields
}
func (*None) ProtoMessage ¶
func (*None) ProtoMessage()
func (*None) ProtoReflect ¶
func (x *None) ProtoReflect() protoreflect.Message
type None_builder ¶ added in v0.3.8
type None_builder struct {
// contains filtered or unexported fields
}
func (None_builder) Build ¶ added in v0.3.8
func (b0 None_builder) Build() *None
type ObfsHttp ¶
type ObfsHttp struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*ObfsHttp) ProtoMessage ¶
func (*ObfsHttp) ProtoMessage()
func (*ObfsHttp) ProtoReflect ¶
func (x *ObfsHttp) ProtoReflect() protoreflect.Message
type ObfsHttp_builder ¶ added in v0.3.8
type ObfsHttp_builder struct {
Host *string
Port *string
// contains filtered or unexported fields
}
func (ObfsHttp_builder) Build ¶ added in v0.3.8
func (b0 ObfsHttp_builder) Build() *ObfsHttp
type Protocol ¶
type Protocol struct {
// contains filtered or unexported fields
}
func (*Protocol) ClearBootstrapDnsWarp ¶ added in v0.3.8
func (x *Protocol) ClearBootstrapDnsWarp()
func (*Protocol) ClearDirect ¶ added in v0.3.8
func (x *Protocol) ClearDirect()
func (*Protocol) ClearHttp2 ¶ added in v0.3.8
func (x *Protocol) ClearHttp2()
func (*Protocol) ClearObfsHttp ¶ added in v0.3.8
func (x *Protocol) ClearObfsHttp()
func (*Protocol) ClearProtocol ¶ added in v0.3.8
func (x *Protocol) ClearProtocol()
func (*Protocol) ClearReality ¶ added in v0.3.8
func (x *Protocol) ClearReality()
func (*Protocol) ClearReject ¶ added in v0.3.8
func (x *Protocol) ClearReject()
func (*Protocol) ClearShadowsocks ¶ added in v0.3.8
func (x *Protocol) ClearShadowsocks()
func (*Protocol) ClearShadowsocksr ¶ added in v0.3.8
func (x *Protocol) ClearShadowsocksr()
func (*Protocol) ClearSimple ¶ added in v0.3.8
func (x *Protocol) ClearSimple()
func (*Protocol) ClearSocks5 ¶ added in v0.3.8
func (x *Protocol) ClearSocks5()
func (*Protocol) ClearTrojan ¶ added in v0.3.8
func (x *Protocol) ClearTrojan()
func (*Protocol) ClearVless ¶ added in v0.3.8
func (x *Protocol) ClearVless()
func (*Protocol) ClearVmess ¶ added in v0.3.8
func (x *Protocol) ClearVmess()
func (*Protocol) ClearWebsocket ¶ added in v0.3.8
func (x *Protocol) ClearWebsocket()
func (*Protocol) ClearWireguard ¶ added in v0.3.8
func (x *Protocol) ClearWireguard()
func (*Protocol) ClearYuubinsya ¶ added in v0.3.8
func (x *Protocol) ClearYuubinsya()
func (*Protocol) GetBootstrapDnsWarp ¶ added in v0.3.8
func (x *Protocol) GetBootstrapDnsWarp() *BootstrapDnsWarp
func (*Protocol) GetObfsHttp ¶
func (*Protocol) GetReality ¶
func (*Protocol) GetShadowsocks ¶
func (x *Protocol) GetShadowsocks() *Shadowsocks
func (*Protocol) GetShadowsocksr ¶
func (x *Protocol) GetShadowsocksr() *Shadowsocksr
func (*Protocol) GetWebsocket ¶
func (*Protocol) GetWireguard ¶
func (*Protocol) GetYuubinsya ¶
func (*Protocol) HasBootstrapDnsWarp ¶ added in v0.3.8
func (*Protocol) HasObfsHttp ¶ added in v0.3.8
func (*Protocol) HasProtocol ¶ added in v0.3.8
func (*Protocol) HasReality ¶ added in v0.3.8
func (*Protocol) HasShadowsocks ¶ added in v0.3.8
func (*Protocol) HasShadowsocksr ¶ added in v0.3.8
func (*Protocol) HasWebsocket ¶ added in v0.3.8
func (*Protocol) HasWireguard ¶ added in v0.3.8
func (*Protocol) HasYuubinsya ¶ added in v0.3.8
func (*Protocol) ProtoMessage ¶
func (*Protocol) ProtoMessage()
func (*Protocol) ProtoReflect ¶
func (x *Protocol) ProtoReflect() protoreflect.Message
func (*Protocol) SetBootstrapDnsWarp ¶ added in v0.3.8
func (x *Protocol) SetBootstrapDnsWarp(v *BootstrapDnsWarp)
func (*Protocol) SetObfsHttp ¶ added in v0.3.8
func (*Protocol) SetReality ¶ added in v0.3.8
func (*Protocol) SetShadowsocks ¶ added in v0.3.8
func (x *Protocol) SetShadowsocks(v *Shadowsocks)
func (*Protocol) SetShadowsocksr ¶ added in v0.3.8
func (x *Protocol) SetShadowsocksr(v *Shadowsocksr)
func (*Protocol) SetWebsocket ¶ added in v0.3.8
func (*Protocol) SetWireguard ¶ added in v0.3.8
func (*Protocol) SetYuubinsya ¶ added in v0.3.8
func (*Protocol) WhichProtocol ¶ added in v0.3.8
func (x *Protocol) WhichProtocol() case_Protocol_Protocol
type Protocol_builder ¶ added in v0.3.8
type Protocol_builder struct {
// Fields of oneof xxx_hidden_Protocol:
Shadowsocks *Shadowsocks
Shadowsocksr *Shadowsocksr
Vmess *Vmess
Websocket *Websocket
Quic *Quic
ObfsHttp *ObfsHttp
Trojan *Trojan
Simple *Simple
None *None
Socks5 *Socks5
Http *Http
Direct *Direct
Reject *Reject
Yuubinsya *Yuubinsya
Grpc *Grpc
Http2 *Http2
Reality *Reality
Tls *TlsConfig
Wireguard *Wireguard
Mux *Mux
Drop *Drop
Vless *Vless
// bootstrap_dns make the dialer use bootstrap dns to resolve the outbound
// address instead of the route dns
BootstrapDnsWarp *BootstrapDnsWarp
// contains filtered or unexported fields
}
func (Protocol_builder) Build ¶ added in v0.3.8
func (b0 Protocol_builder) Build() *Protocol
type Quic ¶
type Quic struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Quic) ProtoMessage ¶
func (*Quic) ProtoMessage()
func (*Quic) ProtoReflect ¶
func (x *Quic) ProtoReflect() protoreflect.Message
type Quic_builder ¶ added in v0.3.8
func (Quic_builder) Build ¶ added in v0.3.8
func (b0 Quic_builder) Build() *Quic
type Reality ¶
type Reality struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Reality) ClearDebug ¶ added in v0.3.8
func (x *Reality) ClearDebug()
func (*Reality) ClearPublicKey ¶ added in v0.3.8
func (x *Reality) ClearPublicKey()
func (*Reality) ClearServerName ¶ added in v0.3.8
func (x *Reality) ClearServerName()
func (*Reality) ClearShortId ¶ added in v0.3.8
func (x *Reality) ClearShortId()
func (*Reality) GetPublicKey ¶
func (*Reality) GetServerName ¶
func (*Reality) GetShortId ¶
func (*Reality) HasPublicKey ¶ added in v0.3.8
func (*Reality) HasServerName ¶ added in v0.3.8
func (*Reality) HasShortId ¶ added in v0.3.8
func (*Reality) ProtoMessage ¶
func (*Reality) ProtoMessage()
func (*Reality) ProtoReflect ¶
func (x *Reality) ProtoReflect() protoreflect.Message
func (*Reality) SetPublicKey ¶ added in v0.3.8
func (*Reality) SetServerName ¶ added in v0.3.8
func (*Reality) SetShortId ¶ added in v0.3.8
type Reality_builder ¶ added in v0.3.8
type Reality_builder struct {
ServerName *string
PublicKey *string
ShortId *string
Debug *bool
// contains filtered or unexported fields
}
func (Reality_builder) Build ¶ added in v0.3.8
func (b0 Reality_builder) Build() *Reality
type Reject ¶
type Reject struct {
// contains filtered or unexported fields
}
func (*Reject) ProtoMessage ¶
func (*Reject) ProtoMessage()
func (*Reject) ProtoReflect ¶
func (x *Reject) ProtoReflect() protoreflect.Message
type Reject_builder ¶ added in v0.3.8
type Reject_builder struct {
// contains filtered or unexported fields
}
func (Reject_builder) Build ¶ added in v0.3.8
func (b0 Reject_builder) Build() *Reject
type Shadowsocks ¶
type Shadowsocks struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Shadowsocks) ClearMethod ¶ added in v0.3.8
func (x *Shadowsocks) ClearMethod()
func (*Shadowsocks) ClearPassword ¶ added in v0.3.8
func (x *Shadowsocks) ClearPassword()
func (*Shadowsocks) GetMethod ¶
func (x *Shadowsocks) GetMethod() string
func (*Shadowsocks) GetPassword ¶
func (x *Shadowsocks) GetPassword() string
func (*Shadowsocks) HasMethod ¶ added in v0.3.8
func (x *Shadowsocks) HasMethod() bool
func (*Shadowsocks) HasPassword ¶ added in v0.3.8
func (x *Shadowsocks) HasPassword() bool
func (*Shadowsocks) ProtoMessage ¶
func (*Shadowsocks) ProtoMessage()
func (*Shadowsocks) ProtoReflect ¶
func (x *Shadowsocks) ProtoReflect() protoreflect.Message
func (*Shadowsocks) Reset ¶
func (x *Shadowsocks) Reset()
func (*Shadowsocks) SetMethod ¶ added in v0.3.8
func (x *Shadowsocks) SetMethod(v string)
func (*Shadowsocks) SetPassword ¶ added in v0.3.8
func (x *Shadowsocks) SetPassword(v string)
func (*Shadowsocks) String ¶
func (x *Shadowsocks) String() string
type Shadowsocks_builder ¶ added in v0.3.8
type Shadowsocks_builder struct {
Method *string
Password *string
// contains filtered or unexported fields
}
func (Shadowsocks_builder) Build ¶ added in v0.3.8
func (b0 Shadowsocks_builder) Build() *Shadowsocks
type Shadowsocksr ¶
type Shadowsocksr struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Shadowsocksr) ClearMethod ¶ added in v0.3.8
func (x *Shadowsocksr) ClearMethod()
func (*Shadowsocksr) ClearObfs ¶ added in v0.3.8
func (x *Shadowsocksr) ClearObfs()
func (*Shadowsocksr) ClearObfsparam ¶ added in v0.3.8
func (x *Shadowsocksr) ClearObfsparam()
func (*Shadowsocksr) ClearPassword ¶ added in v0.3.8
func (x *Shadowsocksr) ClearPassword()
func (*Shadowsocksr) ClearPort ¶ added in v0.3.8
func (x *Shadowsocksr) ClearPort()
func (*Shadowsocksr) ClearProtocol ¶ added in v0.3.8
func (x *Shadowsocksr) ClearProtocol()
func (*Shadowsocksr) ClearProtoparam ¶ added in v0.3.8
func (x *Shadowsocksr) ClearProtoparam()
func (*Shadowsocksr) ClearServer ¶ added in v0.3.8
func (x *Shadowsocksr) ClearServer()
func (*Shadowsocksr) GetMethod ¶
func (x *Shadowsocksr) GetMethod() string
func (*Shadowsocksr) GetObfs ¶
func (x *Shadowsocksr) GetObfs() string
func (*Shadowsocksr) GetObfsparam ¶
func (x *Shadowsocksr) GetObfsparam() string
func (*Shadowsocksr) GetPassword ¶
func (x *Shadowsocksr) GetPassword() string
func (*Shadowsocksr) GetPort ¶
func (x *Shadowsocksr) GetPort() string
func (*Shadowsocksr) GetProtocol ¶
func (x *Shadowsocksr) GetProtocol() string
func (*Shadowsocksr) GetProtoparam ¶
func (x *Shadowsocksr) GetProtoparam() string
func (*Shadowsocksr) GetServer ¶
func (x *Shadowsocksr) GetServer() string
func (*Shadowsocksr) HasMethod ¶ added in v0.3.8
func (x *Shadowsocksr) HasMethod() bool
func (*Shadowsocksr) HasObfs ¶ added in v0.3.8
func (x *Shadowsocksr) HasObfs() bool
func (*Shadowsocksr) HasObfsparam ¶ added in v0.3.8
func (x *Shadowsocksr) HasObfsparam() bool
func (*Shadowsocksr) HasPassword ¶ added in v0.3.8
func (x *Shadowsocksr) HasPassword() bool
func (*Shadowsocksr) HasPort ¶ added in v0.3.8
func (x *Shadowsocksr) HasPort() bool
func (*Shadowsocksr) HasProtocol ¶ added in v0.3.8
func (x *Shadowsocksr) HasProtocol() bool
func (*Shadowsocksr) HasProtoparam ¶ added in v0.3.8
func (x *Shadowsocksr) HasProtoparam() bool
func (*Shadowsocksr) HasServer ¶ added in v0.3.8
func (x *Shadowsocksr) HasServer() bool
func (*Shadowsocksr) ProtoMessage ¶
func (*Shadowsocksr) ProtoMessage()
func (*Shadowsocksr) ProtoReflect ¶
func (x *Shadowsocksr) ProtoReflect() protoreflect.Message
func (*Shadowsocksr) Reset ¶
func (x *Shadowsocksr) Reset()
func (*Shadowsocksr) SetMethod ¶ added in v0.3.8
func (x *Shadowsocksr) SetMethod(v string)
func (*Shadowsocksr) SetObfs ¶ added in v0.3.8
func (x *Shadowsocksr) SetObfs(v string)
func (*Shadowsocksr) SetObfsparam ¶ added in v0.3.8
func (x *Shadowsocksr) SetObfsparam(v string)
func (*Shadowsocksr) SetPassword ¶ added in v0.3.8
func (x *Shadowsocksr) SetPassword(v string)
func (*Shadowsocksr) SetPort ¶ added in v0.3.8
func (x *Shadowsocksr) SetPort(v string)
func (*Shadowsocksr) SetProtocol ¶ added in v0.3.8
func (x *Shadowsocksr) SetProtocol(v string)
func (*Shadowsocksr) SetProtoparam ¶ added in v0.3.8
func (x *Shadowsocksr) SetProtoparam(v string)
func (*Shadowsocksr) SetServer ¶ added in v0.3.8
func (x *Shadowsocksr) SetServer(v string)
func (*Shadowsocksr) String ¶
func (x *Shadowsocksr) String() string
type Shadowsocksr_builder ¶ added in v0.3.8
type Shadowsocksr_builder struct {
Server *string
Port *string
Method *string
Password *string
Obfs *string
Obfsparam *string
Protocol *string
Protoparam *string
// contains filtered or unexported fields
}
func (Shadowsocksr_builder) Build ¶ added in v0.3.8
func (b0 Shadowsocksr_builder) Build() *Shadowsocksr
type Simple ¶
type Simple struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Simple) ClearNetworkInterface ¶ added in v0.3.8
func (x *Simple) ClearNetworkInterface()
func (*Simple) GetAlternateHost ¶
func (*Simple) GetNetworkInterface ¶ added in v0.3.8
func (*Simple) HasNetworkInterface ¶ added in v0.3.8
func (*Simple) ProtoMessage ¶
func (*Simple) ProtoMessage()
func (*Simple) ProtoReflect ¶
func (x *Simple) ProtoReflect() protoreflect.Message
func (*Simple) SetAlternateHost ¶ added in v0.3.8
func (*Simple) SetNetworkInterface ¶ added in v0.3.8
type Simple_builder ¶ added in v0.3.8
type Simple_builder struct {
Host *string
Port *int32
AlternateHost []*Host
NetworkInterface *string
// contains filtered or unexported fields
}
func (Simple_builder) Build ¶ added in v0.3.8
func (b0 Simple_builder) Build() *Simple
type Socks5 ¶
type Socks5 struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Socks5) ClearHostname ¶ added in v0.3.8
func (x *Socks5) ClearHostname()
func (*Socks5) ClearOverridePort ¶ added in v0.3.8
func (x *Socks5) ClearOverridePort()
func (*Socks5) ClearPassword ¶ added in v0.3.8
func (x *Socks5) ClearPassword()
func (*Socks5) GetHostname ¶
func (*Socks5) GetOverridePort ¶ added in v0.3.8
func (*Socks5) GetPassword ¶
func (*Socks5) HasHostname ¶ added in v0.3.8
func (*Socks5) HasOverridePort ¶ added in v0.3.8
func (*Socks5) HasPassword ¶ added in v0.3.8
func (*Socks5) ProtoMessage ¶
func (*Socks5) ProtoMessage()
func (*Socks5) ProtoReflect ¶
func (x *Socks5) ProtoReflect() protoreflect.Message
func (*Socks5) SetHostname ¶ added in v0.3.8
func (*Socks5) SetOverridePort ¶ added in v0.3.8
func (*Socks5) SetPassword ¶ added in v0.3.8
type Socks5_builder ¶ added in v0.3.8
type Socks5_builder struct {
// eg: 127.0.0.1
Hostname *string
User *string
Password *string
// TODO: add override hostname options
OverridePort *uint32
// contains filtered or unexported fields
}
func (Socks5_builder) Build ¶ added in v0.3.8
func (b0 Socks5_builder) Build() *Socks5
type TlsConfig ¶
type TlsConfig struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*TlsConfig) ClearEchConfig ¶ added in v0.3.8
func (x *TlsConfig) ClearEchConfig()
func (*TlsConfig) ClearEnable ¶ added in v0.3.8
func (x *TlsConfig) ClearEnable()
func (*TlsConfig) ClearInsecureSkipVerify ¶ added in v0.3.8
func (x *TlsConfig) ClearInsecureSkipVerify()
func (*TlsConfig) GetEchConfig ¶ added in v0.3.7
func (*TlsConfig) GetInsecureSkipVerify ¶
func (*TlsConfig) GetNextProtos ¶
func (*TlsConfig) GetServerNames ¶
func (*TlsConfig) HasEchConfig ¶ added in v0.3.8
func (*TlsConfig) HasInsecureSkipVerify ¶ added in v0.3.8
func (*TlsConfig) ProtoMessage ¶
func (*TlsConfig) ProtoMessage()
func (*TlsConfig) ProtoReflect ¶
func (x *TlsConfig) ProtoReflect() protoreflect.Message
func (*TlsConfig) SetEchConfig ¶ added in v0.3.8
func (*TlsConfig) SetInsecureSkipVerify ¶ added in v0.3.8
func (*TlsConfig) SetNextProtos ¶ added in v0.3.8
func (*TlsConfig) SetServerNames ¶ added in v0.3.8
type TlsConfig_builder ¶ added in v0.3.8
type TlsConfig_builder struct {
Enable *bool
ServerNames []string
CaCert [][]byte
InsecureSkipVerify *bool
// next_protos ALPN Next Protocol
// eg: h2, http/1.1
NextProtos []string
EchConfig []byte
// contains filtered or unexported fields
}
func (TlsConfig_builder) Build ¶ added in v0.3.8
func (b0 TlsConfig_builder) Build() *TlsConfig
type Trojan ¶
type Trojan struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Trojan) ClearPassword ¶ added in v0.3.8
func (x *Trojan) ClearPassword()
func (*Trojan) GetPassword ¶
func (*Trojan) HasPassword ¶ added in v0.3.8
func (*Trojan) ProtoMessage ¶
func (*Trojan) ProtoMessage()
func (*Trojan) ProtoReflect ¶
func (x *Trojan) ProtoReflect() protoreflect.Message
func (*Trojan) SetPassword ¶ added in v0.3.8
type Trojan_builder ¶ added in v0.3.8
type Trojan_builder struct {
Password *string
Peer *string
// contains filtered or unexported fields
}
func (Trojan_builder) Build ¶ added in v0.3.8
func (b0 Trojan_builder) Build() *Trojan
type Vless ¶ added in v0.3.4
type Vless struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Vless) ProtoMessage ¶ added in v0.3.4
func (*Vless) ProtoMessage()
func (*Vless) ProtoReflect ¶ added in v0.3.4
func (x *Vless) ProtoReflect() protoreflect.Message
type Vless_builder ¶ added in v0.3.8
type Vless_builder struct {
Uuid *string
// contains filtered or unexported fields
}
func (Vless_builder) Build ¶ added in v0.3.8
func (b0 Vless_builder) Build() *Vless
type Vmess ¶
type Vmess struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Vmess) ClearAlterId ¶ added in v0.3.8
func (x *Vmess) ClearAlterId()
func (*Vmess) ClearSecurity ¶ added in v0.3.8
func (x *Vmess) ClearSecurity()
func (*Vmess) GetAlterId ¶
func (*Vmess) GetSecurity ¶
func (*Vmess) HasAlterId ¶ added in v0.3.8
func (*Vmess) HasSecurity ¶ added in v0.3.8
func (*Vmess) ProtoMessage ¶
func (*Vmess) ProtoMessage()
func (*Vmess) ProtoReflect ¶
func (x *Vmess) ProtoReflect() protoreflect.Message
func (*Vmess) SetAlterId ¶ added in v0.3.8
func (*Vmess) SetSecurity ¶ added in v0.3.8
type Vmess_builder ¶ added in v0.3.8
type Vmess_builder struct {
// uuid
Uuid *string
// alter id
AlterId *string
Security *string
// contains filtered or unexported fields
}
func (Vmess_builder) Build ¶ added in v0.3.8
func (b0 Vmess_builder) Build() *Vmess
type Websocket ¶
type Websocket struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Websocket) ProtoMessage ¶
func (*Websocket) ProtoMessage()
func (*Websocket) ProtoReflect ¶
func (x *Websocket) ProtoReflect() protoreflect.Message
type Websocket_builder ¶ added in v0.3.8
type Websocket_builder struct {
Host *string
Path *string
// contains filtered or unexported fields
}
func (Websocket_builder) Build ¶ added in v0.3.8
func (b0 Websocket_builder) Build() *Websocket
type Wireguard ¶
type Wireguard struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Wireguard) ClearIdleTimeout ¶ added in v0.3.8
func (x *Wireguard) ClearIdleTimeout()
func (*Wireguard) ClearReserved ¶ added in v0.3.8
func (x *Wireguard) ClearReserved()
func (*Wireguard) ClearSecretKey ¶ added in v0.3.8
func (x *Wireguard) ClearSecretKey()
func (*Wireguard) GetEndpoint ¶
func (*Wireguard) GetIdleTimeout ¶ added in v0.3.4
func (*Wireguard) GetPeers ¶
func (x *Wireguard) GetPeers() []*WireguardPeerConfig
func (*Wireguard) GetReserved ¶
func (*Wireguard) GetSecretKey ¶
func (*Wireguard) HasIdleTimeout ¶ added in v0.3.8
func (*Wireguard) HasReserved ¶ added in v0.3.8
func (*Wireguard) HasSecretKey ¶ added in v0.3.8
func (*Wireguard) ProtoMessage ¶
func (*Wireguard) ProtoMessage()
func (*Wireguard) ProtoReflect ¶
func (x *Wireguard) ProtoReflect() protoreflect.Message
func (*Wireguard) SetEndpoint ¶ added in v0.3.8
func (*Wireguard) SetIdleTimeout ¶ added in v0.3.8
func (*Wireguard) SetPeers ¶ added in v0.3.8
func (x *Wireguard) SetPeers(v []*WireguardPeerConfig)
func (*Wireguard) SetReserved ¶ added in v0.3.8
func (*Wireguard) SetSecretKey ¶ added in v0.3.8
type WireguardPeerConfig ¶
type WireguardPeerConfig struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*WireguardPeerConfig) ClearEndpoint ¶ added in v0.3.8
func (x *WireguardPeerConfig) ClearEndpoint()
func (*WireguardPeerConfig) ClearKeepAlive ¶ added in v0.3.8
func (x *WireguardPeerConfig) ClearKeepAlive()
func (*WireguardPeerConfig) ClearPreSharedKey ¶ added in v0.3.8
func (x *WireguardPeerConfig) ClearPreSharedKey()
func (*WireguardPeerConfig) ClearPublicKey ¶ added in v0.3.8
func (x *WireguardPeerConfig) ClearPublicKey()
func (*WireguardPeerConfig) GetAllowedIps ¶
func (x *WireguardPeerConfig) GetAllowedIps() []string
func (*WireguardPeerConfig) GetEndpoint ¶
func (x *WireguardPeerConfig) GetEndpoint() string
func (*WireguardPeerConfig) GetKeepAlive ¶
func (x *WireguardPeerConfig) GetKeepAlive() int32
func (*WireguardPeerConfig) GetPreSharedKey ¶
func (x *WireguardPeerConfig) GetPreSharedKey() string
func (*WireguardPeerConfig) GetPublicKey ¶
func (x *WireguardPeerConfig) GetPublicKey() string
func (*WireguardPeerConfig) HasEndpoint ¶ added in v0.3.8
func (x *WireguardPeerConfig) HasEndpoint() bool
func (*WireguardPeerConfig) HasKeepAlive ¶ added in v0.3.8
func (x *WireguardPeerConfig) HasKeepAlive() bool
func (*WireguardPeerConfig) HasPreSharedKey ¶ added in v0.3.8
func (x *WireguardPeerConfig) HasPreSharedKey() bool
func (*WireguardPeerConfig) HasPublicKey ¶ added in v0.3.8
func (x *WireguardPeerConfig) HasPublicKey() bool
func (*WireguardPeerConfig) ProtoMessage ¶
func (*WireguardPeerConfig) ProtoMessage()
func (*WireguardPeerConfig) ProtoReflect ¶
func (x *WireguardPeerConfig) ProtoReflect() protoreflect.Message
func (*WireguardPeerConfig) Reset ¶
func (x *WireguardPeerConfig) Reset()
func (*WireguardPeerConfig) SetAllowedIps ¶ added in v0.3.8
func (x *WireguardPeerConfig) SetAllowedIps(v []string)
func (*WireguardPeerConfig) SetEndpoint ¶ added in v0.3.8
func (x *WireguardPeerConfig) SetEndpoint(v string)
func (*WireguardPeerConfig) SetKeepAlive ¶ added in v0.3.8
func (x *WireguardPeerConfig) SetKeepAlive(v int32)
func (*WireguardPeerConfig) SetPreSharedKey ¶ added in v0.3.8
func (x *WireguardPeerConfig) SetPreSharedKey(v string)
func (*WireguardPeerConfig) SetPublicKey ¶ added in v0.3.8
func (x *WireguardPeerConfig) SetPublicKey(v string)
func (*WireguardPeerConfig) String ¶
func (x *WireguardPeerConfig) String() string
type WireguardPeerConfig_builder ¶ added in v0.3.8
type WireguardPeerConfig_builder struct {
PublicKey *string
Endpoint *string
KeepAlive *int32
AllowedIps []string
// contains filtered or unexported fields
}
func (WireguardPeerConfig_builder) Build ¶ added in v0.3.8
func (b0 WireguardPeerConfig_builder) Build() *WireguardPeerConfig
type Wireguard_builder ¶ added in v0.3.8
type Wireguard_builder struct {
SecretKey *string
Endpoint []string
Peers []*WireguardPeerConfig
Mtu *int32
Reserved []byte
IdleTimeout *int32
// contains filtered or unexported fields
}
func (Wireguard_builder) Build ¶ added in v0.3.8
func (b0 Wireguard_builder) Build() *Wireguard
type Yuubinsya ¶
type Yuubinsya struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Yuubinsya) ClearPassword ¶ added in v0.3.8
func (x *Yuubinsya) ClearPassword()
func (*Yuubinsya) ClearTcpEncrypt ¶ added in v0.3.8
func (x *Yuubinsya) ClearTcpEncrypt()
func (*Yuubinsya) ClearUdpEncrypt ¶ added in v0.3.8
func (x *Yuubinsya) ClearUdpEncrypt()
func (*Yuubinsya) ClearUdpOverStream ¶ added in v0.3.8
func (x *Yuubinsya) ClearUdpOverStream()
func (*Yuubinsya) GetPassword ¶
func (*Yuubinsya) GetTcpEncrypt ¶ added in v0.3.5
func (*Yuubinsya) GetUdpEncrypt ¶ added in v0.3.5
func (*Yuubinsya) GetUdpOverStream ¶ added in v0.3.3
func (*Yuubinsya) HasPassword ¶ added in v0.3.8
func (*Yuubinsya) HasTcpEncrypt ¶ added in v0.3.8
func (*Yuubinsya) HasUdpEncrypt ¶ added in v0.3.8
func (*Yuubinsya) HasUdpOverStream ¶ added in v0.3.8
func (*Yuubinsya) ProtoMessage ¶
func (*Yuubinsya) ProtoMessage()
func (*Yuubinsya) ProtoReflect ¶
func (x *Yuubinsya) ProtoReflect() protoreflect.Message
func (*Yuubinsya) SetPassword ¶ added in v0.3.8
func (*Yuubinsya) SetTcpEncrypt ¶ added in v0.3.8
func (*Yuubinsya) SetUdpEncrypt ¶ added in v0.3.8
func (*Yuubinsya) SetUdpOverStream ¶ added in v0.3.8
type Yuubinsya_builder ¶ added in v0.3.8
type Yuubinsya_builder struct {
Password *string
TcpEncrypt *bool
UdpEncrypt *bool
UdpOverStream *bool
// contains filtered or unexported fields
}
func (Yuubinsya_builder) Build ¶ added in v0.3.8
func (b0 Yuubinsya_builder) Build() *Yuubinsya
Click to show internal directories.
Click to hide internal directories.