Documentation
¶
Index ¶
- Constants
- Variables
- type Aead
- type Aead_builder
- type BootstrapDnsWarp
- type BootstrapDnsWarp_builder
- type Certificate
- func (x *Certificate) ClearCert()
- func (x *Certificate) ClearCertFilePath()
- func (x *Certificate) ClearKey()
- func (x *Certificate) ClearKeyFilePath()
- func (x *Certificate) GetCert() []byte
- func (x *Certificate) GetCertFilePath() string
- func (x *Certificate) GetKey() []byte
- func (x *Certificate) GetKeyFilePath() string
- func (x *Certificate) HasCert() bool
- func (x *Certificate) HasCertFilePath() bool
- func (x *Certificate) HasKey() bool
- func (x *Certificate) HasKeyFilePath() bool
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) SetCert(v []byte)
- func (x *Certificate) SetCertFilePath(v string)
- func (x *Certificate) SetKey(v []byte)
- func (x *Certificate) SetKeyFilePath(v string)
- func (x *Certificate) String() string
- type Certificate_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 Fixed
- func (x *Fixed) ClearHost()
- func (x *Fixed) ClearNetworkInterface()
- func (x *Fixed) ClearPort()
- func (x *Fixed) GetAlternateHost() []*Host
- func (x *Fixed) GetHost() string
- func (x *Fixed) GetNetworkInterface() string
- func (x *Fixed) GetPort() int32
- func (x *Fixed) HasHost() bool
- func (x *Fixed) HasNetworkInterface() bool
- func (x *Fixed) HasPort() bool
- func (*Fixed) ProtoMessage()
- func (x *Fixed) ProtoReflect() protoreflect.Message
- func (x *Fixed) Reset()
- func (x *Fixed) SetAlternateHost(v []*Host)
- func (x *Fixed) SetHost(v string)
- func (x *Fixed) SetNetworkInterface(v string)
- func (x *Fixed) SetPort(v int32)
- func (x *Fixed) String() string
- type Fixed_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 HttpHeader
- func (x *HttpHeader) ClearKey()
- func (x *HttpHeader) ClearValue()
- func (x *HttpHeader) GetKey() string
- func (x *HttpHeader) GetValue() string
- func (x *HttpHeader) HasKey() bool
- func (x *HttpHeader) HasValue() bool
- func (*HttpHeader) ProtoMessage()
- func (x *HttpHeader) ProtoReflect() protoreflect.Message
- func (x *HttpHeader) Reset()
- func (x *HttpHeader) SetKey(v string)
- func (x *HttpHeader) SetValue(v string)
- func (x *HttpHeader) String() string
- type HttpHeader_builder
- type HttpMock
- type HttpMock_builder
- type HttpTermination
- func (x *HttpTermination) GetHeaders() map[string]*HttpTerminationHttpHeaders
- func (*HttpTermination) ProtoMessage()
- func (x *HttpTermination) ProtoReflect() protoreflect.Message
- func (x *HttpTermination) Reset()
- func (x *HttpTermination) SetHeaders(v map[string]*HttpTerminationHttpHeaders)
- func (x *HttpTermination) String() string
- type HttpTerminationHttpHeaders
- func (x *HttpTerminationHttpHeaders) GetHeaders() []*HttpHeader
- func (*HttpTerminationHttpHeaders) ProtoMessage()
- func (x *HttpTerminationHttpHeaders) ProtoReflect() protoreflect.Message
- func (x *HttpTerminationHttpHeaders) Reset()
- func (x *HttpTerminationHttpHeaders) SetHeaders(v []*HttpHeader)
- func (x *HttpTerminationHttpHeaders) String() string
- type HttpTerminationHttpHeaders_builder
- type HttpTermination_builder
- type Http_builder
- type Mux
- type Mux_builder
- type NetworkSplit
- func (x *NetworkSplit) ClearTcp()
- func (x *NetworkSplit) ClearUdp()
- func (x *NetworkSplit) GetTcp() *Protocol
- func (x *NetworkSplit) GetUdp() *Protocol
- func (x *NetworkSplit) HasTcp() bool
- func (x *NetworkSplit) HasUdp() bool
- func (*NetworkSplit) ProtoMessage()
- func (x *NetworkSplit) ProtoReflect() protoreflect.Message
- func (x *NetworkSplit) Reset()
- func (x *NetworkSplit) SetTcp(v *Protocol)
- func (x *NetworkSplit) SetUdp(v *Protocol)
- func (x *NetworkSplit) String() string
- type NetworkSplit_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) ClearAead()
- func (x *Protocol) ClearBootstrapDnsWarp()
- func (x *Protocol) ClearDirect()
- func (x *Protocol) ClearDrop()
- func (x *Protocol) ClearFixed()
- func (x *Protocol) ClearGrpc()
- func (x *Protocol) ClearHttp()
- func (x *Protocol) ClearHttp2()
- func (x *Protocol) ClearHttpMock()
- func (x *Protocol) ClearHttpTermination()
- func (x *Protocol) ClearMux()
- func (x *Protocol) ClearNetworkSplit()
- 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) ClearSet()
- func (x *Protocol) ClearShadowsocks()
- func (x *Protocol) ClearShadowsocksr()
- func (x *Protocol) ClearSimple()deprecated
- func (x *Protocol) ClearSocks5()
- func (x *Protocol) ClearTailscale()
- func (x *Protocol) ClearTls()
- func (x *Protocol) ClearTlsTermination()
- 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) GetAead() *Aead
- func (x *Protocol) GetBootstrapDnsWarp() *BootstrapDnsWarp
- func (x *Protocol) GetDirect() *Direct
- func (x *Protocol) GetDrop() *Drop
- func (x *Protocol) GetFixed() *Fixed
- func (x *Protocol) GetGrpc() *Grpc
- func (x *Protocol) GetHttp() *Http
- func (x *Protocol) GetHttp2() *Http2
- func (x *Protocol) GetHttpMock() *HttpMock
- func (x *Protocol) GetHttpTermination() *HttpTermination
- func (x *Protocol) GetMux() *Mux
- func (x *Protocol) GetNetworkSplit() *NetworkSplit
- 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) GetSet() *Set
- func (x *Protocol) GetShadowsocks() *Shadowsocks
- func (x *Protocol) GetShadowsocksr() *Shadowsocksr
- func (x *Protocol) GetSimple() *Simpledeprecated
- func (x *Protocol) GetSocks5() *Socks5
- func (x *Protocol) GetTailscale() *Tailscale
- func (x *Protocol) GetTls() *TlsConfig
- func (x *Protocol) GetTlsTermination() *TlsTermination
- 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) HasAead() bool
- func (x *Protocol) HasBootstrapDnsWarp() bool
- func (x *Protocol) HasDirect() bool
- func (x *Protocol) HasDrop() bool
- func (x *Protocol) HasFixed() bool
- func (x *Protocol) HasGrpc() bool
- func (x *Protocol) HasHttp() bool
- func (x *Protocol) HasHttp2() bool
- func (x *Protocol) HasHttpMock() bool
- func (x *Protocol) HasHttpTermination() bool
- func (x *Protocol) HasMux() bool
- func (x *Protocol) HasNetworkSplit() 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) HasSet() bool
- func (x *Protocol) HasShadowsocks() bool
- func (x *Protocol) HasShadowsocksr() bool
- func (x *Protocol) HasSimple() booldeprecated
- func (x *Protocol) HasSocks5() bool
- func (x *Protocol) HasTailscale() bool
- func (x *Protocol) HasTls() bool
- func (x *Protocol) HasTlsTermination() 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) SetAead(v *Aead)
- func (x *Protocol) SetBootstrapDnsWarp(v *BootstrapDnsWarp)
- func (x *Protocol) SetDirect(v *Direct)
- func (x *Protocol) SetDrop(v *Drop)
- func (x *Protocol) SetFixed(v *Fixed)
- func (x *Protocol) SetGrpc(v *Grpc)
- func (x *Protocol) SetHttp(v *Http)
- func (x *Protocol) SetHttp2(v *Http2)
- func (x *Protocol) SetHttpMock(v *HttpMock)
- func (x *Protocol) SetHttpTermination(v *HttpTermination)
- func (x *Protocol) SetMux(v *Mux)
- func (x *Protocol) SetNetworkSplit(v *NetworkSplit)
- 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) SetSet(v *Set)
- func (x *Protocol) SetShadowsocks(v *Shadowsocks)
- func (x *Protocol) SetShadowsocksr(v *Shadowsocksr)
- func (x *Protocol) SetSimple(v *Simple)deprecated
- func (x *Protocol) SetSocks5(v *Socks5)
- func (x *Protocol) SetTailscale(v *Tailscale)
- func (x *Protocol) SetTls(v *TlsConfig)
- func (x *Protocol) SetTlsTermination(v *TlsTermination)
- 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) ClearMldsa65Verify()
- func (x *Reality) ClearPublicKey()
- func (x *Reality) ClearServerName()
- func (x *Reality) ClearShortId()
- func (x *Reality) GetDebug() bool
- func (x *Reality) GetMldsa65Verify() string
- func (x *Reality) GetPublicKey() string
- func (x *Reality) GetServerName() string
- func (x *Reality) GetShortId() string
- func (x *Reality) HasDebug() bool
- func (x *Reality) HasMldsa65Verify() 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) SetMldsa65Verify(v string)
- 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 Set
- func (x *Set) ClearStrategy()
- func (x *Set) GetNodes() []string
- func (x *Set) GetStrategy() SetStrategyType
- func (x *Set) HasStrategy() bool
- func (*Set) ProtoMessage()
- func (x *Set) ProtoReflect() protoreflect.Message
- func (x *Set) Reset()
- func (x *Set) SetNodes(v []string)
- func (x *Set) SetStrategy(v SetStrategyType)
- func (x *Set) String() string
- type SetStrategyType
- type Set_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 Tailscale
- func (x *Tailscale) ClearAuthKey()
- func (x *Tailscale) ClearControlUrl()
- func (x *Tailscale) ClearDebug()
- func (x *Tailscale) ClearHostname()
- func (x *Tailscale) GetAuthKey() string
- func (x *Tailscale) GetControlUrl() string
- func (x *Tailscale) GetDebug() bool
- func (x *Tailscale) GetHostname() string
- func (x *Tailscale) HasAuthKey() bool
- func (x *Tailscale) HasControlUrl() bool
- func (x *Tailscale) HasDebug() bool
- func (x *Tailscale) HasHostname() bool
- func (*Tailscale) ProtoMessage()
- func (x *Tailscale) ProtoReflect() protoreflect.Message
- func (x *Tailscale) Reset()
- func (x *Tailscale) SetAuthKey(v string)
- func (x *Tailscale) SetControlUrl(v string)
- func (x *Tailscale) SetDebug(v bool)
- func (x *Tailscale) SetHostname(v string)
- func (x *Tailscale) String() string
- type Tailscale_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 TlsServerConfig
- func (x *TlsServerConfig) GetCertificates() []*Certificate
- func (x *TlsServerConfig) GetNextProtos() []string
- func (x *TlsServerConfig) GetServerNameCertificate() map[string]*Certificate
- func (*TlsServerConfig) ProtoMessage()
- func (x *TlsServerConfig) ProtoReflect() protoreflect.Message
- func (x *TlsServerConfig) Reset()
- func (x *TlsServerConfig) SetCertificates(v []*Certificate)
- func (x *TlsServerConfig) SetNextProtos(v []string)
- func (x *TlsServerConfig) SetServerNameCertificate(v map[string]*Certificate)
- func (x *TlsServerConfig) String() string
- type TlsServerConfig_builder
- type TlsTermination
- func (x *TlsTermination) ClearTls()
- func (x *TlsTermination) GetTls() *TlsServerConfig
- func (x *TlsTermination) HasTls() bool
- func (*TlsTermination) ProtoMessage()
- func (x *TlsTermination) ProtoReflect() protoreflect.Message
- func (x *TlsTermination) Reset()
- func (x *TlsTermination) SetTls(v *TlsServerConfig)
- func (x *TlsTermination) String() string
- type TlsTermination_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) ClearMtu()
- func (x *Wireguard) ClearReserved()
- func (x *Wireguard) ClearSecretKey()
- func (x *Wireguard) GetEndpoint() []string
- func (x *Wireguard) GetMtu() int32
- func (x *Wireguard) GetPeers() []*WireguardPeerConfig
- func (x *Wireguard) GetReserved() []byte
- func (x *Wireguard) GetSecretKey() string
- 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) 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) ClearUdpCoalesce()
- func (x *Yuubinsya) ClearUdpOverStream()
- func (x *Yuubinsya) GetPassword() string
- func (x *Yuubinsya) GetUdpCoalesce() bool
- func (x *Yuubinsya) GetUdpOverStream() bool
- func (x *Yuubinsya) HasPassword() bool
- func (x *Yuubinsya) HasUdpCoalesce() 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) SetUdpCoalesce(v bool)
- func (x *Yuubinsya) SetUdpOverStream(v bool)
- func (x *Yuubinsya) String() string
- type Yuubinsya_builder
Constants ¶
View Source
const Protocol_Aead_case case_Protocol_Protocol = 29
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_Fixed_case case_Protocol_Protocol = 30
View Source
const Protocol_Grpc_case case_Protocol_Protocol = 15
View Source
const Protocol_Http2_case case_Protocol_Protocol = 16
View Source
const Protocol_HttpMock_case case_Protocol_Protocol = 28
View Source
const Protocol_HttpTermination_case case_Protocol_Protocol = 27
View Source
const Protocol_Http_case case_Protocol_Protocol = 11
View Source
const Protocol_Mux_case case_Protocol_Protocol = 20
View Source
const Protocol_NetworkSplit_case case_Protocol_Protocol = 31
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_Set_case case_Protocol_Protocol = 25
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_Tailscale_case case_Protocol_Protocol = 24
View Source
const Protocol_TlsTermination_case case_Protocol_Protocol = 26
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 ( SetStrategyType_name = map[int32]string{ 0: "random", 1: "round_robin", } SetStrategyType_value = map[string]int32{ "random": 0, "round_robin": 1, } )
Enum value maps for SetStrategyType.
View Source
var File_node_protocol_protocol_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Aead ¶
type Aead struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Aead) ClearPassword ¶
func (x *Aead) ClearPassword()
func (*Aead) GetPassword ¶
func (*Aead) HasPassword ¶
func (*Aead) ProtoMessage ¶
func (*Aead) ProtoMessage()
func (*Aead) ProtoReflect ¶
func (x *Aead) ProtoReflect() protoreflect.Message
func (*Aead) SetPassword ¶
type Aead_builder ¶
type Aead_builder struct {
Password *string
// contains filtered or unexported fields
}
func (Aead_builder) Build ¶
func (b0 Aead_builder) Build() *Aead
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 Certificate ¶
type Certificate struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Certificate) ClearCert ¶
func (x *Certificate) ClearCert()
func (*Certificate) ClearCertFilePath ¶
func (x *Certificate) ClearCertFilePath()
func (*Certificate) ClearKey ¶
func (x *Certificate) ClearKey()
func (*Certificate) ClearKeyFilePath ¶
func (x *Certificate) ClearKeyFilePath()
func (*Certificate) GetCert ¶
func (x *Certificate) GetCert() []byte
func (*Certificate) GetCertFilePath ¶
func (x *Certificate) GetCertFilePath() string
func (*Certificate) GetKey ¶
func (x *Certificate) GetKey() []byte
func (*Certificate) GetKeyFilePath ¶
func (x *Certificate) GetKeyFilePath() string
func (*Certificate) HasCert ¶
func (x *Certificate) HasCert() bool
func (*Certificate) HasCertFilePath ¶
func (x *Certificate) HasCertFilePath() bool
func (*Certificate) HasKey ¶
func (x *Certificate) HasKey() bool
func (*Certificate) HasKeyFilePath ¶
func (x *Certificate) HasKeyFilePath() bool
func (*Certificate) ProtoMessage ¶
func (*Certificate) ProtoMessage()
func (*Certificate) ProtoReflect ¶
func (x *Certificate) ProtoReflect() protoreflect.Message
func (*Certificate) Reset ¶
func (x *Certificate) Reset()
func (*Certificate) SetCert ¶
func (x *Certificate) SetCert(v []byte)
func (*Certificate) SetCertFilePath ¶
func (x *Certificate) SetCertFilePath(v string)
func (*Certificate) SetKey ¶
func (x *Certificate) SetKey(v []byte)
func (*Certificate) SetKeyFilePath ¶
func (x *Certificate) SetKeyFilePath(v string)
func (*Certificate) String ¶
func (x *Certificate) String() string
type Certificate_builder ¶
type Certificate_builder struct {
Cert []byte
Key []byte
CertFilePath *string
KeyFilePath *string
// contains filtered or unexported fields
}
func (Certificate_builder) Build ¶
func (b0 Certificate_builder) Build() *Certificate
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 Fixed ¶
type Fixed struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Fixed) ClearNetworkInterface ¶
func (x *Fixed) ClearNetworkInterface()
func (*Fixed) GetAlternateHost ¶
func (*Fixed) GetNetworkInterface ¶
func (*Fixed) HasNetworkInterface ¶
func (*Fixed) ProtoMessage ¶
func (*Fixed) ProtoMessage()
func (*Fixed) ProtoReflect ¶
func (x *Fixed) ProtoReflect() protoreflect.Message
func (*Fixed) SetAlternateHost ¶
func (*Fixed) SetNetworkInterface ¶
type Fixed_builder ¶
type Fixed_builder struct {
Host *string
Port *int32
AlternateHost []*Host
NetworkInterface *string
// contains filtered or unexported fields
}
func (Fixed_builder) Build ¶
func (b0 Fixed_builder) Build() *Fixed
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 HttpHeader ¶
type HttpHeader struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*HttpHeader) ClearKey ¶
func (x *HttpHeader) ClearKey()
func (*HttpHeader) ClearValue ¶
func (x *HttpHeader) ClearValue()
func (*HttpHeader) GetKey ¶
func (x *HttpHeader) GetKey() string
func (*HttpHeader) GetValue ¶
func (x *HttpHeader) GetValue() string
func (*HttpHeader) HasKey ¶
func (x *HttpHeader) HasKey() bool
func (*HttpHeader) HasValue ¶
func (x *HttpHeader) HasValue() bool
func (*HttpHeader) ProtoMessage ¶
func (*HttpHeader) ProtoMessage()
func (*HttpHeader) ProtoReflect ¶
func (x *HttpHeader) ProtoReflect() protoreflect.Message
func (*HttpHeader) Reset ¶
func (x *HttpHeader) Reset()
func (*HttpHeader) SetKey ¶
func (x *HttpHeader) SetKey(v string)
func (*HttpHeader) SetValue ¶
func (x *HttpHeader) SetValue(v string)
func (*HttpHeader) String ¶
func (x *HttpHeader) String() string
type HttpHeader_builder ¶
type HttpHeader_builder struct {
Key *string
Value *string
// contains filtered or unexported fields
}
func (HttpHeader_builder) Build ¶
func (b0 HttpHeader_builder) Build() *HttpHeader
type HttpMock ¶
type HttpMock struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*HttpMock) ProtoMessage ¶
func (*HttpMock) ProtoMessage()
func (*HttpMock) ProtoReflect ¶
func (x *HttpMock) ProtoReflect() protoreflect.Message
type HttpMock_builder ¶
type HttpMock_builder struct {
Data []byte
// contains filtered or unexported fields
}
func (HttpMock_builder) Build ¶
func (b0 HttpMock_builder) Build() *HttpMock
type HttpTermination ¶
type HttpTermination struct {
// contains filtered or unexported fields
}
func (*HttpTermination) GetHeaders ¶
func (x *HttpTermination) GetHeaders() map[string]*HttpTerminationHttpHeaders
func (*HttpTermination) ProtoMessage ¶
func (*HttpTermination) ProtoMessage()
func (*HttpTermination) ProtoReflect ¶
func (x *HttpTermination) ProtoReflect() protoreflect.Message
func (*HttpTermination) Reset ¶
func (x *HttpTermination) Reset()
func (*HttpTermination) SetHeaders ¶
func (x *HttpTermination) SetHeaders(v map[string]*HttpTerminationHttpHeaders)
func (*HttpTermination) String ¶
func (x *HttpTermination) String() string
type HttpTerminationHttpHeaders ¶
type HttpTerminationHttpHeaders struct {
// contains filtered or unexported fields
}
func (*HttpTerminationHttpHeaders) GetHeaders ¶
func (x *HttpTerminationHttpHeaders) GetHeaders() []*HttpHeader
func (*HttpTerminationHttpHeaders) ProtoMessage ¶
func (*HttpTerminationHttpHeaders) ProtoMessage()
func (*HttpTerminationHttpHeaders) ProtoReflect ¶
func (x *HttpTerminationHttpHeaders) ProtoReflect() protoreflect.Message
func (*HttpTerminationHttpHeaders) Reset ¶
func (x *HttpTerminationHttpHeaders) Reset()
func (*HttpTerminationHttpHeaders) SetHeaders ¶
func (x *HttpTerminationHttpHeaders) SetHeaders(v []*HttpHeader)
func (*HttpTerminationHttpHeaders) String ¶
func (x *HttpTerminationHttpHeaders) String() string
type HttpTerminationHttpHeaders_builder ¶
type HttpTerminationHttpHeaders_builder struct {
Headers []*HttpHeader
// contains filtered or unexported fields
}
func (HttpTerminationHttpHeaders_builder) Build ¶
func (b0 HttpTerminationHttpHeaders_builder) Build() *HttpTerminationHttpHeaders
type HttpTermination_builder ¶
type HttpTermination_builder struct {
// host header map
//
// eg: www.google.com - headers
//
// *.google.com - headers
Headers map[string]*HttpTerminationHttpHeaders
// contains filtered or unexported fields
}
func (HttpTermination_builder) Build ¶
func (b0 HttpTermination_builder) Build() *HttpTermination
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 NetworkSplit ¶
type NetworkSplit struct {
// contains filtered or unexported fields
}
func (*NetworkSplit) ClearTcp ¶
func (x *NetworkSplit) ClearTcp()
func (*NetworkSplit) ClearUdp ¶
func (x *NetworkSplit) ClearUdp()
func (*NetworkSplit) GetTcp ¶
func (x *NetworkSplit) GetTcp() *Protocol
func (*NetworkSplit) GetUdp ¶
func (x *NetworkSplit) GetUdp() *Protocol
func (*NetworkSplit) HasTcp ¶
func (x *NetworkSplit) HasTcp() bool
func (*NetworkSplit) HasUdp ¶
func (x *NetworkSplit) HasUdp() bool
func (*NetworkSplit) ProtoMessage ¶
func (*NetworkSplit) ProtoMessage()
func (*NetworkSplit) ProtoReflect ¶
func (x *NetworkSplit) ProtoReflect() protoreflect.Message
func (*NetworkSplit) Reset ¶
func (x *NetworkSplit) Reset()
func (*NetworkSplit) SetTcp ¶
func (x *NetworkSplit) SetTcp(v *Protocol)
func (*NetworkSplit) SetUdp ¶
func (x *NetworkSplit) SetUdp(v *Protocol)
func (*NetworkSplit) String ¶
func (x *NetworkSplit) String() string
type NetworkSplit_builder ¶
type NetworkSplit_builder struct {
Tcp *Protocol
Udp *Protocol
// contains filtered or unexported fields
}
func (NetworkSplit_builder) Build ¶
func (b0 NetworkSplit_builder) Build() *NetworkSplit
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) ClearFixed ¶
func (x *Protocol) ClearFixed()
func (*Protocol) ClearHttp2 ¶ added in v0.3.8
func (x *Protocol) ClearHttp2()
func (*Protocol) ClearHttpMock ¶
func (x *Protocol) ClearHttpMock()
func (*Protocol) ClearHttpTermination ¶
func (x *Protocol) ClearHttpTermination()
func (*Protocol) ClearNetworkSplit ¶
func (x *Protocol) ClearNetworkSplit()
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
deprecated
added in
v0.3.8
func (x *Protocol) ClearSimple()
Deprecated: Marked as deprecated in node/protocol/protocol.proto.
func (*Protocol) ClearSocks5 ¶ added in v0.3.8
func (x *Protocol) ClearSocks5()
func (*Protocol) ClearTailscale ¶
func (x *Protocol) ClearTailscale()
func (*Protocol) ClearTlsTermination ¶
func (x *Protocol) ClearTlsTermination()
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) GetHttpMock ¶
func (*Protocol) GetHttpTermination ¶
func (x *Protocol) GetHttpTermination() *HttpTermination
func (*Protocol) GetNetworkSplit ¶
func (x *Protocol) GetNetworkSplit() *NetworkSplit
func (*Protocol) GetObfsHttp ¶
func (*Protocol) GetReality ¶
func (*Protocol) GetShadowsocks ¶
func (x *Protocol) GetShadowsocks() *Shadowsocks
func (*Protocol) GetShadowsocksr ¶
func (x *Protocol) GetShadowsocksr() *Shadowsocksr
func (*Protocol) GetTailscale ¶
func (*Protocol) GetTlsTermination ¶
func (x *Protocol) GetTlsTermination() *TlsTermination
func (*Protocol) GetWebsocket ¶
func (*Protocol) GetWireguard ¶
func (*Protocol) GetYuubinsya ¶
func (*Protocol) HasBootstrapDnsWarp ¶ added in v0.3.8
func (*Protocol) HasHttpMock ¶
func (*Protocol) HasHttpTermination ¶
func (*Protocol) HasNetworkSplit ¶
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) HasTailscale ¶
func (*Protocol) HasTlsTermination ¶
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) SetHttpMock ¶
func (*Protocol) SetHttpTermination ¶
func (x *Protocol) SetHttpTermination(v *HttpTermination)
func (*Protocol) SetNetworkSplit ¶
func (x *Protocol) SetNetworkSplit(v *NetworkSplit)
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) SetTailscale ¶
func (*Protocol) SetTlsTermination ¶
func (x *Protocol) SetTlsTermination(v *TlsTermination)
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
//
// Deprecated: use [Fixed] instead
//
// Deprecated: Marked as deprecated in node/protocol/protocol.proto.
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
Tailscale *Tailscale
Set *Set
TlsTermination *TlsTermination
HttpTermination *HttpTermination
HttpMock *HttpMock
Aead *Aead
Fixed *Fixed
NetworkSplit *NetworkSplit
// 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) ClearMldsa65Verify ¶
func (x *Reality) ClearMldsa65Verify()
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) GetMldsa65Verify ¶
func (*Reality) GetPublicKey ¶
func (*Reality) GetServerName ¶
func (*Reality) GetShortId ¶
func (*Reality) HasMldsa65Verify ¶
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) SetMldsa65Verify ¶
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
Mldsa65Verify *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 Set ¶
type Set struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Set) ClearStrategy ¶
func (x *Set) ClearStrategy()
func (*Set) GetStrategy ¶
func (x *Set) GetStrategy() SetStrategyType
func (*Set) HasStrategy ¶
func (*Set) ProtoMessage ¶
func (*Set) ProtoMessage()
func (*Set) ProtoReflect ¶
func (x *Set) ProtoReflect() protoreflect.Message
func (*Set) SetStrategy ¶
func (x *Set) SetStrategy(v SetStrategyType)
type SetStrategyType ¶
type SetStrategyType int32
const ( Set_random SetStrategyType = 0 Set_round_robin SetStrategyType = 1 )
func (SetStrategyType) Descriptor ¶
func (SetStrategyType) Descriptor() protoreflect.EnumDescriptor
func (SetStrategyType) Enum ¶
func (x SetStrategyType) Enum() *SetStrategyType
func (SetStrategyType) Number ¶
func (x SetStrategyType) Number() protoreflect.EnumNumber
func (SetStrategyType) String ¶
func (x SetStrategyType) String() string
func (SetStrategyType) Type ¶
func (SetStrategyType) Type() protoreflect.EnumType
type Set_builder ¶
type Set_builder struct {
Nodes []string
Strategy *SetStrategyType
// contains filtered or unexported fields
}
func (Set_builder) Build ¶
func (b0 Set_builder) Build() *Set
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 Tailscale ¶
type Tailscale struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Tailscale) ClearAuthKey ¶
func (x *Tailscale) ClearAuthKey()
func (*Tailscale) ClearControlUrl ¶
func (x *Tailscale) ClearControlUrl()
func (*Tailscale) ClearDebug ¶
func (x *Tailscale) ClearDebug()
func (*Tailscale) ClearHostname ¶
func (x *Tailscale) ClearHostname()
func (*Tailscale) GetAuthKey ¶
func (*Tailscale) GetControlUrl ¶
func (*Tailscale) GetHostname ¶
func (*Tailscale) HasAuthKey ¶
func (*Tailscale) HasControlUrl ¶
func (*Tailscale) HasHostname ¶
func (*Tailscale) ProtoMessage ¶
func (*Tailscale) ProtoMessage()
func (*Tailscale) ProtoReflect ¶
func (x *Tailscale) ProtoReflect() protoreflect.Message
func (*Tailscale) SetAuthKey ¶
func (*Tailscale) SetControlUrl ¶
func (*Tailscale) SetHostname ¶
type Tailscale_builder ¶
type Tailscale_builder struct {
AuthKey *string
Hostname *string
ControlUrl *string
Debug *bool
// contains filtered or unexported fields
}
func (Tailscale_builder) Build ¶
func (b0 Tailscale_builder) Build() *Tailscale
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 TlsServerConfig ¶
type TlsServerConfig struct {
// contains filtered or unexported fields
}
func (*TlsServerConfig) GetCertificates ¶
func (x *TlsServerConfig) GetCertificates() []*Certificate
func (*TlsServerConfig) GetNextProtos ¶
func (x *TlsServerConfig) GetNextProtos() []string
func (*TlsServerConfig) GetServerNameCertificate ¶
func (x *TlsServerConfig) GetServerNameCertificate() map[string]*Certificate
func (*TlsServerConfig) ProtoMessage ¶
func (*TlsServerConfig) ProtoMessage()
func (*TlsServerConfig) ProtoReflect ¶
func (x *TlsServerConfig) ProtoReflect() protoreflect.Message
func (*TlsServerConfig) Reset ¶
func (x *TlsServerConfig) Reset()
func (*TlsServerConfig) SetCertificates ¶
func (x *TlsServerConfig) SetCertificates(v []*Certificate)
func (*TlsServerConfig) SetNextProtos ¶
func (x *TlsServerConfig) SetNextProtos(v []string)
func (*TlsServerConfig) SetServerNameCertificate ¶
func (x *TlsServerConfig) SetServerNameCertificate(v map[string]*Certificate)
func (*TlsServerConfig) String ¶
func (x *TlsServerConfig) String() string
type TlsServerConfig_builder ¶
type TlsServerConfig_builder struct {
Certificates []*Certificate
NextProtos []string
ServerNameCertificate map[string]*Certificate
// contains filtered or unexported fields
}
func (TlsServerConfig_builder) Build ¶
func (b0 TlsServerConfig_builder) Build() *TlsServerConfig
type TlsTermination ¶
type TlsTermination struct {
// contains filtered or unexported fields
}
tls termination tls offload
func (*TlsTermination) ClearTls ¶
func (x *TlsTermination) ClearTls()
func (*TlsTermination) GetTls ¶
func (x *TlsTermination) GetTls() *TlsServerConfig
func (*TlsTermination) HasTls ¶
func (x *TlsTermination) HasTls() bool
func (*TlsTermination) ProtoMessage ¶
func (*TlsTermination) ProtoMessage()
func (*TlsTermination) ProtoReflect ¶
func (x *TlsTermination) ProtoReflect() protoreflect.Message
func (*TlsTermination) Reset ¶
func (x *TlsTermination) Reset()
func (*TlsTermination) SetTls ¶
func (x *TlsTermination) SetTls(v *TlsServerConfig)
func (*TlsTermination) String ¶
func (x *TlsTermination) String() string
type TlsTermination_builder ¶
type TlsTermination_builder struct {
Tls *TlsServerConfig
// contains filtered or unexported fields
}
func (TlsTermination_builder) Build ¶
func (b0 TlsTermination_builder) Build() *TlsTermination
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) 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) GetPeers ¶
func (x *Wireguard) GetPeers() []*WireguardPeerConfig
func (*Wireguard) GetReserved ¶
func (*Wireguard) GetSecretKey ¶
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) 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
// 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) ClearUdpCoalesce ¶
func (x *Yuubinsya) ClearUdpCoalesce()
func (*Yuubinsya) ClearUdpOverStream ¶ added in v0.3.8
func (x *Yuubinsya) ClearUdpOverStream()
func (*Yuubinsya) GetPassword ¶
func (*Yuubinsya) GetUdpCoalesce ¶
func (*Yuubinsya) GetUdpOverStream ¶ added in v0.3.3
func (*Yuubinsya) HasPassword ¶ added in v0.3.8
func (*Yuubinsya) HasUdpCoalesce ¶
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) SetUdpCoalesce ¶
func (*Yuubinsya) SetUdpOverStream ¶ added in v0.3.8
type Yuubinsya_builder ¶ added in v0.3.8
type Yuubinsya_builder struct {
Password *string
UdpOverStream *bool
UdpCoalesce *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.