Documentation
¶
Index ¶
- Constants
- Variables
- type Aead
- func (x *Aead) ClearCryptoMethod()
- func (x *Aead) ClearPassword()
- func (x *Aead) GetCryptoMethod() AeadCryptoMethod
- func (x *Aead) GetPassword() string
- func (x *Aead) HasCryptoMethod() bool
- func (x *Aead) HasPassword() bool
- func (*Aead) ProtoMessage()
- func (x *Aead) ProtoReflect() protoreflect.Message
- func (x *Aead) Reset()
- func (x *Aead) SetCryptoMethod(v AeadCryptoMethod)
- func (x *Aead) SetPassword(v string)
- func (x *Aead) String() string
- type AeadCryptoMethod
- 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 CloudflareWarpMasque
- func (x *CloudflareWarpMasque) ClearEndpoint()
- func (x *CloudflareWarpMasque) ClearEndpointPublicKey()
- func (x *CloudflareWarpMasque) ClearMtu()
- func (x *CloudflareWarpMasque) ClearPrivateKey()
- func (x *CloudflareWarpMasque) GetEndpoint() string
- func (x *CloudflareWarpMasque) GetEndpointPublicKey() string
- func (x *CloudflareWarpMasque) GetLocalAddresses() []string
- func (x *CloudflareWarpMasque) GetMtu() int32
- func (x *CloudflareWarpMasque) GetPrivateKey() string
- func (x *CloudflareWarpMasque) HasEndpoint() bool
- func (x *CloudflareWarpMasque) HasEndpointPublicKey() bool
- func (x *CloudflareWarpMasque) HasMtu() bool
- func (x *CloudflareWarpMasque) HasPrivateKey() bool
- func (*CloudflareWarpMasque) ProtoMessage()
- func (x *CloudflareWarpMasque) ProtoReflect() protoreflect.Message
- func (x *CloudflareWarpMasque) Reset()
- func (x *CloudflareWarpMasque) SetEndpoint(v string)
- func (x *CloudflareWarpMasque) SetEndpointPublicKey(v string)
- func (x *CloudflareWarpMasque) SetLocalAddresses(v []string)
- func (x *CloudflareWarpMasque) SetMtu(v int32)
- func (x *CloudflareWarpMasque) SetPrivateKey(v string)
- func (x *CloudflareWarpMasque) String() string
- type CloudflareWarpMasque_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 DnsOverQuic
- func (x *DnsOverQuic) ClearHost()
- func (x *DnsOverQuic) ClearTargetDomain()
- func (x *DnsOverQuic) GetHost() string
- func (x *DnsOverQuic) GetTargetDomain() string
- func (x *DnsOverQuic) HasHost() bool
- func (x *DnsOverQuic) HasTargetDomain() bool
- func (*DnsOverQuic) ProtoMessage()
- func (x *DnsOverQuic) ProtoReflect() protoreflect.Message
- func (x *DnsOverQuic) Reset()
- func (x *DnsOverQuic) SetHost(v string)
- func (x *DnsOverQuic) SetTargetDomain(v string)
- func (x *DnsOverQuic) String() string
- type DnsOverQuic_builder
- type DnsTest
- func (x *DnsTest) ClearHost()
- func (x *DnsTest) ClearTargetDomain()
- func (x *DnsTest) GetHost() string
- func (x *DnsTest) GetTargetDomain() string
- func (x *DnsTest) HasHost() bool
- func (x *DnsTest) HasTargetDomain() bool
- func (*DnsTest) ProtoMessage()
- func (x *DnsTest) ProtoReflect() protoreflect.Message
- func (x *DnsTest) Reset()
- func (x *DnsTest) SetHost(v string)
- func (x *DnsTest) SetTargetDomain(v string)
- func (x *DnsTest) String() string
- type DnsTest_builder
- type Drop
- type Drop_builder
- type Error
- type Error_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 Fixedv2
- type Fixedv2Address
- func (x *Fixedv2Address) ClearHost()
- func (x *Fixedv2Address) ClearNetworkInterface()
- func (x *Fixedv2Address) GetHost() string
- func (x *Fixedv2Address) GetNetworkInterface() string
- func (x *Fixedv2Address) HasHost() bool
- func (x *Fixedv2Address) HasNetworkInterface() bool
- func (*Fixedv2Address) ProtoMessage()
- func (x *Fixedv2Address) ProtoReflect() protoreflect.Message
- func (x *Fixedv2Address) Reset()
- func (x *Fixedv2Address) SetHost(v string)
- func (x *Fixedv2Address) SetNetworkInterface(v string)
- func (x *Fixedv2Address) String() string
- type Fixedv2Address_builder
- type Fixedv2_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 HttpTest
- type HttpTest_builder
- type Http_builder
- type Ip
- func (x *Ip) ClearUrl()
- func (x *Ip) ClearUserAgent()
- func (x *Ip) GetUrl() string
- func (x *Ip) GetUserAgent() string
- func (x *Ip) HasUrl() bool
- func (x *Ip) HasUserAgent() bool
- func (*Ip) ProtoMessage()
- func (x *Ip) ProtoReflect() protoreflect.Message
- func (x *Ip) Reset()
- func (x *Ip) SetUrl(v string)
- func (x *Ip) SetUserAgent(v string)
- func (x *Ip) String() string
- type IpResponse
- func (x *IpResponse) ClearIpv4()
- func (x *IpResponse) ClearIpv6()
- func (x *IpResponse) GetIpv4() string
- func (x *IpResponse) GetIpv6() string
- func (x *IpResponse) HasIpv4() bool
- func (x *IpResponse) HasIpv6() bool
- func (*IpResponse) ProtoMessage()
- func (x *IpResponse) ProtoReflect() protoreflect.Message
- func (x *IpResponse) Reset()
- func (x *IpResponse) SetIpv4(v string)
- func (x *IpResponse) SetIpv6(v string)
- func (x *IpResponse) String() string
- type IpResponse_builder
- type Ip_builder
- type Link
- func (x *Link) ClearName()
- func (x *Link) ClearType()
- func (x *Link) ClearUrl()
- func (x *Link) GetName() string
- func (x *Link) GetType() Type
- func (x *Link) GetUrl() string
- func (x *Link) HasName() bool
- func (x *Link) HasType() bool
- func (x *Link) HasUrl() bool
- func (*Link) ProtoMessage()
- func (x *Link) ProtoReflect() protoreflect.Message
- func (x *Link) Reset()
- func (x *Link) SetName(v string)
- func (x *Link) SetType(v Type)
- func (x *Link) SetUrl(v string)
- func (x *Link) String() string
- type Link_builder
- type Manager
- func (x *Manager) GetNodes() map[string]*Point
- func (x *Manager) GetPublishes() map[string]*Publish
- func (x *Manager) GetTags() map[string]*Tags
- func (*Manager) ProtoMessage()
- func (x *Manager) ProtoReflect() protoreflect.Message
- func (x *Manager) Reset()
- func (x *Manager) SetNodes(v map[string]*Point)
- func (x *Manager) SetPublishes(v map[string]*Publish)
- func (x *Manager) SetTags(v map[string]*Tags)
- func (x *Manager) String() string
- type Manager_builder
- type Mux
- type Mux_builder
- type NatType
- 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 Node
- func (x *Node) ClearManager()
- func (x *Node) ClearTcp()
- func (x *Node) ClearUdp()
- func (x *Node) GetLinks() map[string]*Link
- func (x *Node) GetManager() *Manager
- func (x *Node) GetTcp() *Point
- func (x *Node) GetUdp() *Point
- func (x *Node) HasManager() bool
- func (x *Node) HasTcp() bool
- func (x *Node) HasUdp() bool
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) SetLinks(v map[string]*Link)
- func (x *Node) SetManager(v *Manager)
- func (x *Node) SetTcp(v *Point)
- func (x *Node) SetUdp(v *Point)
- func (x *Node) String() string
- type Node_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 Origin
- type Point
- func (x *Point) ClearGroup()
- func (x *Point) ClearHash()
- func (x *Point) ClearName()
- func (x *Point) ClearOrigin()
- func (x *Point) GetGroup() string
- func (x *Point) GetHash() string
- func (x *Point) GetName() string
- func (x *Point) GetOrigin() Origin
- func (x *Point) GetProtocols() []*Protocol
- func (x *Point) HasGroup() bool
- func (x *Point) HasHash() bool
- func (x *Point) HasName() bool
- func (x *Point) HasOrigin() bool
- func (*Point) ProtoMessage()
- func (x *Point) ProtoReflect() protoreflect.Message
- func (x *Point) Reset()
- func (x *Point) SetGroup(v string)
- func (x *Point) SetHash(v string)
- func (x *Point) SetName(v string)
- func (x *Point) SetOrigin(v Origin)
- func (x *Point) SetProtocols(v []*Protocol)
- func (x *Point) String() string
- type Point_builder
- type Protocol
- func (x *Protocol) ClearAead()
- func (x *Protocol) ClearBootstrapDnsWarp()
- func (x *Protocol) ClearCloudflareWarpMasque()
- func (x *Protocol) ClearDirect()
- func (x *Protocol) ClearDrop()
- func (x *Protocol) ClearFixed()
- func (x *Protocol) ClearFixedv2()
- 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) ClearProxy()
- 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) GetCloudflareWarpMasque() *CloudflareWarpMasque
- func (x *Protocol) GetDirect() *Direct
- func (x *Protocol) GetDrop() *Drop
- func (x *Protocol) GetFixed() *Fixed
- func (x *Protocol) GetFixedv2() *Fixedv2
- 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) GetProxy() *Proxy
- 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) HasCloudflareWarpMasque() bool
- func (x *Protocol) HasDirect() bool
- func (x *Protocol) HasDrop() bool
- func (x *Protocol) HasFixed() bool
- func (x *Protocol) HasFixedv2() 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) HasProxy() 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) SetCloudflareWarpMasque(v *CloudflareWarpMasque)
- func (x *Protocol) SetDirect(v *Direct)
- func (x *Protocol) SetDrop(v *Drop)
- func (x *Protocol) SetFixed(v *Fixed)
- func (x *Protocol) SetFixedv2(v *Fixedv2)
- 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) SetProxy(v *Proxy)
- 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 Proxy
- type Proxy_builder
- type Publish
- func (x *Publish) ClearName()
- func (x *Publish) ClearPassword()
- func (x *Publish) ClearPath()
- func (x *Publish) GetName() string
- func (x *Publish) GetPassword() string
- func (x *Publish) GetPath() string
- func (x *Publish) GetPoints() []string
- func (x *Publish) HasName() bool
- func (x *Publish) HasPassword() bool
- func (x *Publish) HasPath() bool
- func (*Publish) ProtoMessage()
- func (x *Publish) ProtoReflect() protoreflect.Message
- func (x *Publish) Reset()
- func (x *Publish) SetName(v string)
- func (x *Publish) SetPassword(v string)
- func (x *Publish) SetPath(v string)
- func (x *Publish) SetPoints(v []string)
- func (x *Publish) String() string
- type Publish_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 Reply
- func (x *Reply) ClearError()
- func (x *Reply) ClearIp()
- func (x *Reply) ClearLatency()
- func (x *Reply) ClearReply()
- func (x *Reply) ClearStun()
- func (x *Reply) GetError() *Error
- func (x *Reply) GetIp() *IpResponse
- func (x *Reply) GetLatency() *durationpb.Duration
- func (x *Reply) GetStun() *StunResponse
- func (x *Reply) HasError() bool
- func (x *Reply) HasIp() bool
- func (x *Reply) HasLatency() bool
- func (x *Reply) HasReply() bool
- func (x *Reply) HasStun() bool
- func (*Reply) ProtoMessage()
- func (x *Reply) ProtoReflect() protoreflect.Message
- func (x *Reply) Reset()
- func (x *Reply) SetError(v *Error)
- func (x *Reply) SetIp(v *IpResponse)
- func (x *Reply) SetLatency(v *durationpb.Duration)
- func (x *Reply) SetStun(v *StunResponse)
- func (x *Reply) String() string
- func (x *Reply) WhichReply() case_Reply_Reply
- type Reply_builder
- type Request
- func (x *Request) ClearHash()
- func (x *Request) ClearId()
- func (x *Request) ClearIpv6()
- func (x *Request) ClearMethod()
- func (x *Request) GetHash() string
- func (x *Request) GetId() string
- func (x *Request) GetIpv6() bool
- func (x *Request) GetMethod() *RequestProtocol
- func (x *Request) HasHash() bool
- func (x *Request) HasId() bool
- func (x *Request) HasIpv6() bool
- func (x *Request) HasMethod() bool
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) SetHash(v string)
- func (x *Request) SetId(v string)
- func (x *Request) SetIpv6(v bool)
- func (x *Request) SetMethod(v *RequestProtocol)
- func (x *Request) String() string
- type RequestProtocol
- func (x *RequestProtocol) ClearDns()
- func (x *RequestProtocol) ClearDnsOverQuic()
- func (x *RequestProtocol) ClearHttp()
- func (x *RequestProtocol) ClearIp()
- func (x *RequestProtocol) ClearProtocol()
- func (x *RequestProtocol) ClearStun()
- func (x *RequestProtocol) GetDns() *DnsTest
- func (x *RequestProtocol) GetDnsOverQuic() *DnsOverQuic
- func (x *RequestProtocol) GetHttp() *HttpTest
- func (x *RequestProtocol) GetIp() *Ip
- func (x *RequestProtocol) GetStun() *Stun
- func (x *RequestProtocol) HasDns() bool
- func (x *RequestProtocol) HasDnsOverQuic() bool
- func (x *RequestProtocol) HasHttp() bool
- func (x *RequestProtocol) HasIp() bool
- func (x *RequestProtocol) HasProtocol() bool
- func (x *RequestProtocol) HasStun() bool
- func (*RequestProtocol) ProtoMessage()
- func (x *RequestProtocol) ProtoReflect() protoreflect.Message
- func (x *RequestProtocol) Reset()
- func (x *RequestProtocol) SetDns(v *DnsTest)
- func (x *RequestProtocol) SetDnsOverQuic(v *DnsOverQuic)
- func (x *RequestProtocol) SetHttp(v *HttpTest)
- func (x *RequestProtocol) SetIp(v *Ip)
- func (x *RequestProtocol) SetStun(v *Stun)
- func (x *RequestProtocol) String() string
- func (x *RequestProtocol) WhichProtocol() case_RequestProtocol_Protocol
- type RequestProtocol_builder
- type Request_builder
- type Requests
- type Requests_builder
- type Response
- type Response_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 Stun
- func (x *Stun) ClearHost()
- func (x *Stun) ClearTcp()
- func (x *Stun) GetHost() string
- func (x *Stun) GetTcp() bool
- func (x *Stun) HasHost() bool
- func (x *Stun) HasTcp() bool
- func (*Stun) ProtoMessage()
- func (x *Stun) ProtoReflect() protoreflect.Message
- func (x *Stun) Reset()
- func (x *Stun) SetHost(v string)
- func (x *Stun) SetTcp(v bool)
- func (x *Stun) String() string
- type StunResponse
- func (x *StunResponse) ClearFiltering()
- func (x *StunResponse) ClearMappedAddress()
- func (x *StunResponse) ClearMapping()
- func (x *StunResponse) ClearOtherAddress()
- func (x *StunResponse) ClearResponseOriginAddress()
- func (x *StunResponse) ClearSoftware()
- func (x *StunResponse) ClearXorMappedAddress()
- func (x *StunResponse) GetFiltering() NatType
- func (x *StunResponse) GetMappedAddress() string
- func (x *StunResponse) GetMapping() NatType
- func (x *StunResponse) GetOtherAddress() string
- func (x *StunResponse) GetResponseOriginAddress() string
- func (x *StunResponse) GetSoftware() string
- func (x *StunResponse) GetXorMappedAddress() string
- func (x *StunResponse) HasFiltering() bool
- func (x *StunResponse) HasMappedAddress() bool
- func (x *StunResponse) HasMapping() bool
- func (x *StunResponse) HasOtherAddress() bool
- func (x *StunResponse) HasResponseOriginAddress() bool
- func (x *StunResponse) HasSoftware() bool
- func (x *StunResponse) HasXorMappedAddress() bool
- func (*StunResponse) ProtoMessage()
- func (x *StunResponse) ProtoReflect() protoreflect.Message
- func (x *StunResponse) Reset()
- func (x *StunResponse) SetFiltering(v NatType)
- func (x *StunResponse) SetMappedAddress(v string)
- func (x *StunResponse) SetMapping(v NatType)
- func (x *StunResponse) SetOtherAddress(v string)
- func (x *StunResponse) SetResponseOriginAddress(v string)
- func (x *StunResponse) SetSoftware(v string)
- func (x *StunResponse) SetXorMappedAddress(v string)
- func (x *StunResponse) String() string
- type StunResponse_builder
- type Stun_builder
- type TagType
- type Tags
- func (x *Tags) ClearTag()
- func (x *Tags) ClearType()
- func (x *Tags) GetHash() []string
- func (x *Tags) GetTag() string
- func (x *Tags) GetType() TagType
- func (x *Tags) HasTag() bool
- func (x *Tags) HasType() bool
- func (*Tags) ProtoMessage()
- func (x *Tags) ProtoReflect() protoreflect.Message
- func (x *Tags) Reset()
- func (x *Tags) SetHash(v []string)
- func (x *Tags) SetTag(v string)
- func (x *Tags) SetType(v TagType)
- func (x *Tags) String() string
- type Tags_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 Type
- 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 YuhaiinUrl
- func (x *YuhaiinUrl) ClearName()
- func (x *YuhaiinUrl) ClearPoints()
- func (x *YuhaiinUrl) ClearRemote()
- func (x *YuhaiinUrl) ClearUrl()
- func (x *YuhaiinUrl) GetName() string
- func (x *YuhaiinUrl) GetPoints() *YuhaiinUrl_Points
- func (x *YuhaiinUrl) GetRemote() *YuhaiinUrl_Remote
- func (x *YuhaiinUrl) HasName() bool
- func (x *YuhaiinUrl) HasPoints() bool
- func (x *YuhaiinUrl) HasRemote() bool
- func (x *YuhaiinUrl) HasUrl() bool
- func (*YuhaiinUrl) ProtoMessage()
- func (x *YuhaiinUrl) ProtoReflect() protoreflect.Message
- func (x *YuhaiinUrl) Reset()
- func (x *YuhaiinUrl) SetName(v string)
- func (x *YuhaiinUrl) SetPoints(v *YuhaiinUrl_Points)
- func (x *YuhaiinUrl) SetRemote(v *YuhaiinUrl_Remote)
- func (x *YuhaiinUrl) String() string
- func (x *YuhaiinUrl) WhichUrl() case_YuhaiinUrl_Url
- type YuhaiinUrl_Points
- type YuhaiinUrl_Points_builder
- type YuhaiinUrl_Remote
- func (x *YuhaiinUrl_Remote) ClearInsecure()
- func (x *YuhaiinUrl_Remote) ClearPublish()
- func (x *YuhaiinUrl_Remote) ClearUrl()
- func (x *YuhaiinUrl_Remote) GetInsecure() bool
- func (x *YuhaiinUrl_Remote) GetPublish() *Publish
- func (x *YuhaiinUrl_Remote) GetUrl() string
- func (x *YuhaiinUrl_Remote) HasInsecure() bool
- func (x *YuhaiinUrl_Remote) HasPublish() bool
- func (x *YuhaiinUrl_Remote) HasUrl() bool
- func (*YuhaiinUrl_Remote) ProtoMessage()
- func (x *YuhaiinUrl_Remote) ProtoReflect() protoreflect.Message
- func (x *YuhaiinUrl_Remote) Reset()
- func (x *YuhaiinUrl_Remote) SetInsecure(v bool)
- func (x *YuhaiinUrl_Remote) SetPublish(v *Publish)
- func (x *YuhaiinUrl_Remote) SetUrl(v string)
- func (x *YuhaiinUrl_Remote) String() string
- type YuhaiinUrl_Remote_builder
- type YuhaiinUrl_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_CloudflareWarpMasque_case case_Protocol_Protocol = 32
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_Fixedv2_case case_Protocol_Protocol = 34
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_Proxy_case case_Protocol_Protocol = 33
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
View Source
const Reply_Error_case case_Reply_Reply = 4
View Source
const Reply_Ip_case case_Reply_Reply = 2
View Source
const Reply_Latency_case case_Reply_Reply = 1
View Source
const Reply_Reply_not_set_case case_Reply_Reply = 0
View Source
const Reply_Stun_case case_Reply_Reply = 3
View Source
const RequestProtocol_DnsOverQuic_case case_RequestProtocol_Protocol = 3
View Source
const RequestProtocol_Dns_case case_RequestProtocol_Protocol = 2
View Source
const RequestProtocol_Http_case case_RequestProtocol_Protocol = 1
View Source
const RequestProtocol_Ip_case case_RequestProtocol_Protocol = 4
View Source
const RequestProtocol_Protocol_not_set_case case_RequestProtocol_Protocol = 0
View Source
const RequestProtocol_Stun_case case_RequestProtocol_Protocol = 5
View Source
const YuhaiinUrl_Points_case case_YuhaiinUrl_Url = 2
View Source
const YuhaiinUrl_Remote_case case_YuhaiinUrl_Url = 1
View Source
const YuhaiinUrl_Url_not_set_case case_YuhaiinUrl_Url = 0
Variables ¶
View Source
var ( NatType_name = map[int32]string{ 0: "NAT_UNKNOWN", 1: "NAT_NO_RESULT", 2: "NAT_EndpointIndependentNoNAT", 3: "NAT_EndpointIndependent", 4: "NAT_AddressDependent", 5: "NAT_AddressAndPortDependent", 6: "NAT_ServerNotSupportChangePort", } NatType_value = map[string]int32{ "NAT_UNKNOWN": 0, "NAT_NO_RESULT": 1, "NAT_EndpointIndependentNoNAT": 2, "NAT_EndpointIndependent": 3, "NAT_AddressDependent": 4, "NAT_AddressAndPortDependent": 5, "NAT_ServerNotSupportChangePort": 6, } )
Enum value maps for NatType.
View Source
var ( Origin_name = map[int32]string{ 0: "reserve", 101: "remote", 102: "manual", } Origin_value = map[string]int32{ "reserve": 0, "remote": 101, "manual": 102, } )
Enum value maps for Origin.
View Source
var ( AeadCryptoMethod_name = map[int32]string{ 0: "Chacha20Poly1305", 1: "XChacha20Poly1305", } AeadCryptoMethod_value = map[string]int32{ "Chacha20Poly1305": 0, "XChacha20Poly1305": 1, } )
Enum value maps for AeadCryptoMethod.
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 ( Type_name = map[int32]string{ 0: "reserve", 1: "trojan", 2: "vmess", 3: "shadowsocks", 4: "shadowsocksr", } Type_value = map[string]int32{ "reserve": 0, "trojan": 1, "vmess": 2, "shadowsocks": 3, "shadowsocksr": 4, } )
Enum value maps for Type.
View Source
var ( TagType_name = map[int32]string{ 0: "node", 1: "mirror", } TagType_value = map[string]int32{ "node": 0, "mirror": 1, } )
Enum value maps for TagType.
View Source
var File_node_latency_proto protoreflect.FileDescriptor
View Source
var File_node_node_proto protoreflect.FileDescriptor
View Source
var File_node_point_proto protoreflect.FileDescriptor
View Source
var File_node_protocol_proto protoreflect.FileDescriptor
View Source
var File_node_subscribe_proto protoreflect.FileDescriptor
View Source
var File_node_tag_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) ClearCryptoMethod ¶
func (x *Aead) ClearCryptoMethod()
func (*Aead) ClearPassword ¶
func (x *Aead) ClearPassword()
func (*Aead) GetCryptoMethod ¶
func (x *Aead) GetCryptoMethod() AeadCryptoMethod
func (*Aead) GetPassword ¶
func (*Aead) HasCryptoMethod ¶
func (*Aead) HasPassword ¶
func (*Aead) ProtoMessage ¶
func (*Aead) ProtoMessage()
func (*Aead) ProtoReflect ¶
func (x *Aead) ProtoReflect() protoreflect.Message
func (*Aead) SetCryptoMethod ¶
func (x *Aead) SetCryptoMethod(v AeadCryptoMethod)
func (*Aead) SetPassword ¶
type AeadCryptoMethod ¶
type AeadCryptoMethod int32
const ( AeadCryptoMethod_Chacha20Poly1305 AeadCryptoMethod = 0 AeadCryptoMethod_XChacha20Poly1305 AeadCryptoMethod = 1 )
func (AeadCryptoMethod) Descriptor ¶
func (AeadCryptoMethod) Descriptor() protoreflect.EnumDescriptor
func (AeadCryptoMethod) Enum ¶
func (x AeadCryptoMethod) Enum() *AeadCryptoMethod
func (AeadCryptoMethod) Number ¶
func (x AeadCryptoMethod) Number() protoreflect.EnumNumber
func (AeadCryptoMethod) String ¶
func (x AeadCryptoMethod) String() string
func (AeadCryptoMethod) Type ¶
func (AeadCryptoMethod) Type() protoreflect.EnumType
type Aead_builder ¶
type Aead_builder struct {
Password *string
CryptoMethod *AeadCryptoMethod
// contains filtered or unexported fields
}
func (Aead_builder) Build ¶
func (b0 Aead_builder) Build() *Aead
type BootstrapDnsWarp ¶
type BootstrapDnsWarp struct {
// contains filtered or unexported fields
}
func (*BootstrapDnsWarp) ProtoMessage ¶
func (*BootstrapDnsWarp) ProtoMessage()
func (*BootstrapDnsWarp) ProtoReflect ¶
func (x *BootstrapDnsWarp) ProtoReflect() protoreflect.Message
func (*BootstrapDnsWarp) Reset ¶
func (x *BootstrapDnsWarp) Reset()
func (*BootstrapDnsWarp) String ¶
func (x *BootstrapDnsWarp) String() string
type BootstrapDnsWarp_builder ¶
type BootstrapDnsWarp_builder struct {
// contains filtered or unexported fields
}
func (BootstrapDnsWarp_builder) Build ¶
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 CloudflareWarpMasque ¶
type CloudflareWarpMasque struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*CloudflareWarpMasque) ClearEndpoint ¶
func (x *CloudflareWarpMasque) ClearEndpoint()
func (*CloudflareWarpMasque) ClearEndpointPublicKey ¶
func (x *CloudflareWarpMasque) ClearEndpointPublicKey()
func (*CloudflareWarpMasque) ClearMtu ¶
func (x *CloudflareWarpMasque) ClearMtu()
func (*CloudflareWarpMasque) ClearPrivateKey ¶
func (x *CloudflareWarpMasque) ClearPrivateKey()
func (*CloudflareWarpMasque) GetEndpoint ¶
func (x *CloudflareWarpMasque) GetEndpoint() string
func (*CloudflareWarpMasque) GetEndpointPublicKey ¶
func (x *CloudflareWarpMasque) GetEndpointPublicKey() string
func (*CloudflareWarpMasque) GetLocalAddresses ¶
func (x *CloudflareWarpMasque) GetLocalAddresses() []string
func (*CloudflareWarpMasque) GetMtu ¶
func (x *CloudflareWarpMasque) GetMtu() int32
func (*CloudflareWarpMasque) GetPrivateKey ¶
func (x *CloudflareWarpMasque) GetPrivateKey() string
func (*CloudflareWarpMasque) HasEndpoint ¶
func (x *CloudflareWarpMasque) HasEndpoint() bool
func (*CloudflareWarpMasque) HasEndpointPublicKey ¶
func (x *CloudflareWarpMasque) HasEndpointPublicKey() bool
func (*CloudflareWarpMasque) HasMtu ¶
func (x *CloudflareWarpMasque) HasMtu() bool
func (*CloudflareWarpMasque) HasPrivateKey ¶
func (x *CloudflareWarpMasque) HasPrivateKey() bool
func (*CloudflareWarpMasque) ProtoMessage ¶
func (*CloudflareWarpMasque) ProtoMessage()
func (*CloudflareWarpMasque) ProtoReflect ¶
func (x *CloudflareWarpMasque) ProtoReflect() protoreflect.Message
func (*CloudflareWarpMasque) Reset ¶
func (x *CloudflareWarpMasque) Reset()
func (*CloudflareWarpMasque) SetEndpoint ¶
func (x *CloudflareWarpMasque) SetEndpoint(v string)
func (*CloudflareWarpMasque) SetEndpointPublicKey ¶
func (x *CloudflareWarpMasque) SetEndpointPublicKey(v string)
func (*CloudflareWarpMasque) SetLocalAddresses ¶
func (x *CloudflareWarpMasque) SetLocalAddresses(v []string)
func (*CloudflareWarpMasque) SetMtu ¶
func (x *CloudflareWarpMasque) SetMtu(v int32)
func (*CloudflareWarpMasque) SetPrivateKey ¶
func (x *CloudflareWarpMasque) SetPrivateKey(v string)
func (*CloudflareWarpMasque) String ¶
func (x *CloudflareWarpMasque) String() string
type CloudflareWarpMasque_builder ¶
type CloudflareWarpMasque_builder struct {
PrivateKey *string
Endpoint *string
EndpointPublicKey *string
LocalAddresses []string
Mtu *int32
// contains filtered or unexported fields
}
func (CloudflareWarpMasque_builder) Build ¶
func (b0 CloudflareWarpMasque_builder) Build() *CloudflareWarpMasque
type Direct ¶
type Direct struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Direct) ClearNetworkInterface ¶
func (x *Direct) ClearNetworkInterface()
func (*Direct) GetNetworkInterface ¶
func (*Direct) HasNetworkInterface ¶
func (*Direct) ProtoMessage ¶
func (*Direct) ProtoMessage()
func (*Direct) ProtoReflect ¶
func (x *Direct) ProtoReflect() protoreflect.Message
func (*Direct) SetNetworkInterface ¶
type Direct_builder ¶
type Direct_builder struct {
NetworkInterface *string
// contains filtered or unexported fields
}
func (Direct_builder) Build ¶
func (b0 Direct_builder) Build() *Direct
type DnsOverQuic ¶
type DnsOverQuic struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*DnsOverQuic) ClearHost ¶
func (x *DnsOverQuic) ClearHost()
func (*DnsOverQuic) ClearTargetDomain ¶
func (x *DnsOverQuic) ClearTargetDomain()
func (*DnsOverQuic) GetHost ¶
func (x *DnsOverQuic) GetHost() string
func (*DnsOverQuic) GetTargetDomain ¶
func (x *DnsOverQuic) GetTargetDomain() string
func (*DnsOverQuic) HasHost ¶
func (x *DnsOverQuic) HasHost() bool
func (*DnsOverQuic) HasTargetDomain ¶
func (x *DnsOverQuic) HasTargetDomain() bool
func (*DnsOverQuic) ProtoMessage ¶
func (*DnsOverQuic) ProtoMessage()
func (*DnsOverQuic) ProtoReflect ¶
func (x *DnsOverQuic) ProtoReflect() protoreflect.Message
func (*DnsOverQuic) Reset ¶
func (x *DnsOverQuic) Reset()
func (*DnsOverQuic) SetHost ¶
func (x *DnsOverQuic) SetHost(v string)
func (*DnsOverQuic) SetTargetDomain ¶
func (x *DnsOverQuic) SetTargetDomain(v string)
func (*DnsOverQuic) String ¶
func (x *DnsOverQuic) String() string
type DnsOverQuic_builder ¶
type DnsOverQuic_builder struct {
Host *string
TargetDomain *string
// contains filtered or unexported fields
}
func (DnsOverQuic_builder) Build ¶
func (b0 DnsOverQuic_builder) Build() *DnsOverQuic
type DnsTest ¶
type DnsTest struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*DnsTest) ClearTargetDomain ¶
func (x *DnsTest) ClearTargetDomain()
func (*DnsTest) GetTargetDomain ¶
func (*DnsTest) HasTargetDomain ¶
func (*DnsTest) ProtoMessage ¶
func (*DnsTest) ProtoMessage()
func (*DnsTest) ProtoReflect ¶
func (x *DnsTest) ProtoReflect() protoreflect.Message
func (*DnsTest) SetTargetDomain ¶
type DnsTest_builder ¶
type DnsTest_builder struct {
Host *string
TargetDomain *string
// contains filtered or unexported fields
}
func (DnsTest_builder) Build ¶
func (b0 DnsTest_builder) Build() *DnsTest
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 ¶
type Drop_builder struct {
// contains filtered or unexported fields
}
func (Drop_builder) Build ¶
func (b0 Drop_builder) Build() *Drop
type Error ¶
type Error struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type Error_builder ¶
type Error_builder struct {
Msg *string
// contains filtered or unexported fields
}
func (Error_builder) Build ¶
func (b0 Error_builder) Build() *Error
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 Fixedv2 ¶
type Fixedv2 struct {
// contains filtered or unexported fields
}
func (*Fixedv2) GetAddresses ¶
func (x *Fixedv2) GetAddresses() []*Fixedv2Address
func (*Fixedv2) ProtoMessage ¶
func (*Fixedv2) ProtoMessage()
func (*Fixedv2) ProtoReflect ¶
func (x *Fixedv2) ProtoReflect() protoreflect.Message
func (*Fixedv2) SetAddresses ¶
func (x *Fixedv2) SetAddresses(v []*Fixedv2Address)
type Fixedv2Address ¶
type Fixedv2Address struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Fixedv2Address) ClearHost ¶
func (x *Fixedv2Address) ClearHost()
func (*Fixedv2Address) ClearNetworkInterface ¶
func (x *Fixedv2Address) ClearNetworkInterface()
func (*Fixedv2Address) GetHost ¶
func (x *Fixedv2Address) GetHost() string
func (*Fixedv2Address) GetNetworkInterface ¶
func (x *Fixedv2Address) GetNetworkInterface() string
func (*Fixedv2Address) HasHost ¶
func (x *Fixedv2Address) HasHost() bool
func (*Fixedv2Address) HasNetworkInterface ¶
func (x *Fixedv2Address) HasNetworkInterface() bool
func (*Fixedv2Address) ProtoMessage ¶
func (*Fixedv2Address) ProtoMessage()
func (*Fixedv2Address) ProtoReflect ¶
func (x *Fixedv2Address) ProtoReflect() protoreflect.Message
func (*Fixedv2Address) Reset ¶
func (x *Fixedv2Address) Reset()
func (*Fixedv2Address) SetHost ¶
func (x *Fixedv2Address) SetHost(v string)
func (*Fixedv2Address) SetNetworkInterface ¶
func (x *Fixedv2Address) SetNetworkInterface(v string)
func (*Fixedv2Address) String ¶
func (x *Fixedv2Address) String() string
type Fixedv2Address_builder ¶
type Fixedv2Address_builder struct {
Host *string
NetworkInterface *string
// contains filtered or unexported fields
}
func (Fixedv2Address_builder) Build ¶
func (b0 Fixedv2Address_builder) Build() *Fixedv2Address
type Fixedv2_builder ¶
type Fixedv2_builder struct {
Addresses []*Fixedv2Address
// contains filtered or unexported fields
}
func (Fixedv2_builder) Build ¶
func (b0 Fixedv2_builder) Build() *Fixedv2
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 ¶
type Grpc_builder struct {
Tls *TlsConfig
// contains filtered or unexported fields
}
func (Grpc_builder) Build ¶
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 ¶
func (Host_builder) Build ¶
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 ¶
func (x *Http) ClearPassword()
func (*Http) GetPassword ¶
func (*Http) HasPassword ¶
func (*Http) ProtoMessage ¶
func (*Http) ProtoMessage()
func (*Http) ProtoReflect ¶
func (x *Http) ProtoReflect() protoreflect.Message
func (*Http) SetPassword ¶
type Http2 ¶
type Http2 struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Http2) ClearConcurrency ¶
func (x *Http2) ClearConcurrency()
func (*Http2) GetConcurrency ¶
func (*Http2) HasConcurrency ¶
func (*Http2) ProtoMessage ¶
func (*Http2) ProtoMessage()
func (*Http2) ProtoReflect ¶
func (x *Http2) ProtoReflect() protoreflect.Message
func (*Http2) SetConcurrency ¶
type Http2_builder ¶
type Http2_builder struct {
Concurrency *int32
// contains filtered or unexported fields
}
func (Http2_builder) Build ¶
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 HttpTest ¶
type HttpTest struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*HttpTest) ProtoMessage ¶
func (*HttpTest) ProtoMessage()
func (*HttpTest) ProtoReflect ¶
func (x *HttpTest) ProtoReflect() protoreflect.Message
type HttpTest_builder ¶
type HttpTest_builder struct {
Url *string
// contains filtered or unexported fields
}
func (HttpTest_builder) Build ¶
func (b0 HttpTest_builder) Build() *HttpTest
type Http_builder ¶
type Http_builder struct {
User *string
Password *string
// contains filtered or unexported fields
}
func (Http_builder) Build ¶
func (b0 Http_builder) Build() *Http
type Ip ¶
type Ip struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Ip) ClearUserAgent ¶
func (x *Ip) ClearUserAgent()
func (*Ip) GetUserAgent ¶
func (*Ip) HasUserAgent ¶
func (*Ip) ProtoMessage ¶
func (*Ip) ProtoMessage()
func (*Ip) ProtoReflect ¶
func (x *Ip) ProtoReflect() protoreflect.Message
func (*Ip) SetUserAgent ¶
type IpResponse ¶
type IpResponse struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*IpResponse) ClearIpv4 ¶
func (x *IpResponse) ClearIpv4()
func (*IpResponse) ClearIpv6 ¶
func (x *IpResponse) ClearIpv6()
func (*IpResponse) GetIpv4 ¶
func (x *IpResponse) GetIpv4() string
func (*IpResponse) GetIpv6 ¶
func (x *IpResponse) GetIpv6() string
func (*IpResponse) HasIpv4 ¶
func (x *IpResponse) HasIpv4() bool
func (*IpResponse) HasIpv6 ¶
func (x *IpResponse) HasIpv6() bool
func (*IpResponse) ProtoMessage ¶
func (*IpResponse) ProtoMessage()
func (*IpResponse) ProtoReflect ¶
func (x *IpResponse) ProtoReflect() protoreflect.Message
func (*IpResponse) Reset ¶
func (x *IpResponse) Reset()
func (*IpResponse) SetIpv4 ¶
func (x *IpResponse) SetIpv4(v string)
func (*IpResponse) SetIpv6 ¶
func (x *IpResponse) SetIpv6(v string)
func (*IpResponse) String ¶
func (x *IpResponse) String() string
type IpResponse_builder ¶
type IpResponse_builder struct {
Ipv4 *string
Ipv6 *string
// contains filtered or unexported fields
}
func (IpResponse_builder) Build ¶
func (b0 IpResponse_builder) Build() *IpResponse
type Ip_builder ¶
func (Ip_builder) Build ¶
func (b0 Ip_builder) Build() *Ip
type Link ¶
type Link struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
type Link_builder ¶
type Link_builder struct {
Name *string
Type *Type
Url *string
// contains filtered or unexported fields
}
func (Link_builder) Build ¶
func (b0 Link_builder) Build() *Link
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) GetPublishes ¶
func (*Manager) ProtoMessage ¶
func (*Manager) ProtoMessage()
func (*Manager) ProtoReflect ¶
func (x *Manager) ProtoReflect() protoreflect.Message
func (*Manager) SetPublishes ¶
type Manager_builder ¶ added in v0.3.8
type Manager_builder struct {
Nodes map[string]*Point
Tags map[string]*Tags
Publishes map[string]*Publish
// contains filtered or unexported fields
}
func (Manager_builder) Build ¶ added in v0.3.8
func (b0 Manager_builder) Build() *Manager
type Mux ¶
type Mux struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Mux) ClearConcurrency ¶
func (x *Mux) ClearConcurrency()
func (*Mux) GetConcurrency ¶
func (*Mux) HasConcurrency ¶
func (*Mux) ProtoMessage ¶
func (*Mux) ProtoMessage()
func (*Mux) ProtoReflect ¶
func (x *Mux) ProtoReflect() protoreflect.Message
func (*Mux) SetConcurrency ¶
type Mux_builder ¶
type Mux_builder struct {
Concurrency *int32
// contains filtered or unexported fields
}
func (Mux_builder) Build ¶
func (b0 Mux_builder) Build() *Mux
type NatType ¶
type NatType int32
const ( NatType_NAT_UNKNOWN NatType = 0 NatType_NAT_NO_RESULT NatType = 1 NatType_NAT_EndpointIndependentNoNAT NatType = 2 NatType_NAT_EndpointIndependent NatType = 3 NatType_NAT_AddressDependent NatType = 4 NatType_NAT_AddressAndPortDependent NatType = 5 NatType_NAT_ServerNotSupportChangePort NatType = 6 )
func (NatType) Descriptor ¶
func (NatType) Descriptor() protoreflect.EnumDescriptor
func (NatType) Number ¶
func (x NatType) Number() protoreflect.EnumNumber
func (NatType) Type ¶
func (NatType) Type() protoreflect.EnumType
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 Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) ClearManager ¶ added in v0.3.8
func (x *Node) ClearManager()
func (*Node) GetManager ¶
func (*Node) HasManager ¶ added in v0.3.8
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
func (*Node) SetManager ¶ added in v0.3.8
type Node_builder ¶ added in v0.3.8
type Node_builder struct {
Tcp *Point
Udp *Point
Links map[string]*Link
Manager *Manager
// contains filtered or unexported fields
}
func (Node_builder) Build ¶ added in v0.3.8
func (b0 Node_builder) Build() *Node
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 ¶
type None_builder struct {
// contains filtered or unexported fields
}
func (None_builder) Build ¶
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 ¶
type ObfsHttp_builder struct {
Host *string
Port *string
// contains filtered or unexported fields
}
func (ObfsHttp_builder) Build ¶
func (b0 ObfsHttp_builder) Build() *ObfsHttp
type Origin ¶
type Origin int32
func (Origin) Descriptor ¶
func (Origin) Descriptor() protoreflect.EnumDescriptor
func (Origin) Number ¶
func (x Origin) Number() protoreflect.EnumNumber
func (Origin) Type ¶
func (Origin) Type() protoreflect.EnumType
type Point ¶
type Point struct {
// Deprecated: Do not use. This will be deleted in the near future.
XXX_lazyUnmarshalInfo protoimpl.LazyUnmarshalInfo
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Point) ClearGroup ¶
func (x *Point) ClearGroup()
func (*Point) ClearOrigin ¶
func (x *Point) ClearOrigin()
func (*Point) GetProtocols ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶
func (x *Point) ProtoReflect() protoreflect.Message
func (*Point) SetProtocols ¶
type Point_builder ¶
type Point_builder struct {
Hash *string
Name *string
Group *string
Origin *Origin
// will use protocols' order to create dialer
Protocols []*Protocol
// contains filtered or unexported fields
}
func (Point_builder) Build ¶
func (b0 Point_builder) Build() *Point
type Protocol ¶
type Protocol struct {
// contains filtered or unexported fields
}
func (*Protocol) ClearBootstrapDnsWarp ¶
func (x *Protocol) ClearBootstrapDnsWarp()
func (*Protocol) ClearCloudflareWarpMasque ¶
func (x *Protocol) ClearCloudflareWarpMasque()
func (*Protocol) ClearDirect ¶
func (x *Protocol) ClearDirect()
func (*Protocol) ClearFixed ¶
func (x *Protocol) ClearFixed()
func (*Protocol) ClearFixedv2 ¶
func (x *Protocol) ClearFixedv2()
func (*Protocol) ClearHttp2 ¶
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 ¶
func (x *Protocol) ClearObfsHttp()
func (*Protocol) ClearProtocol ¶
func (x *Protocol) ClearProtocol()
func (*Protocol) ClearProxy ¶
func (x *Protocol) ClearProxy()
func (*Protocol) ClearReality ¶
func (x *Protocol) ClearReality()
func (*Protocol) ClearReject ¶
func (x *Protocol) ClearReject()
func (*Protocol) ClearShadowsocks ¶
func (x *Protocol) ClearShadowsocks()
func (*Protocol) ClearShadowsocksr ¶
func (x *Protocol) ClearShadowsocksr()
func (*Protocol) ClearSimple
deprecated
func (x *Protocol) ClearSimple()
Deprecated: Marked as deprecated in node/protocol.proto.
func (*Protocol) ClearSocks5 ¶
func (x *Protocol) ClearSocks5()
func (*Protocol) ClearTailscale ¶
func (x *Protocol) ClearTailscale()
func (*Protocol) ClearTlsTermination ¶
func (x *Protocol) ClearTlsTermination()
func (*Protocol) ClearTrojan ¶
func (x *Protocol) ClearTrojan()
func (*Protocol) ClearVless ¶
func (x *Protocol) ClearVless()
func (*Protocol) ClearVmess ¶
func (x *Protocol) ClearVmess()
func (*Protocol) ClearWebsocket ¶
func (x *Protocol) ClearWebsocket()
func (*Protocol) ClearWireguard ¶
func (x *Protocol) ClearWireguard()
func (*Protocol) ClearYuubinsya ¶
func (x *Protocol) ClearYuubinsya()
func (*Protocol) GetBootstrapDnsWarp ¶
func (x *Protocol) GetBootstrapDnsWarp() *BootstrapDnsWarp
func (*Protocol) GetCloudflareWarpMasque ¶
func (x *Protocol) GetCloudflareWarpMasque() *CloudflareWarpMasque
func (*Protocol) GetFixedv2 ¶
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 ¶
func (*Protocol) HasCloudflareWarpMasque ¶
func (*Protocol) HasFixedv2 ¶
func (*Protocol) HasHttpMock ¶
func (*Protocol) HasHttpTermination ¶
func (*Protocol) HasNetworkSplit ¶
func (*Protocol) HasObfsHttp ¶
func (*Protocol) HasProtocol ¶
func (*Protocol) HasReality ¶
func (*Protocol) HasShadowsocks ¶
func (*Protocol) HasShadowsocksr ¶
func (*Protocol) HasTailscale ¶
func (*Protocol) HasTlsTermination ¶
func (*Protocol) HasWebsocket ¶
func (*Protocol) HasWireguard ¶
func (*Protocol) HasYuubinsya ¶
func (*Protocol) ProtoMessage ¶
func (*Protocol) ProtoMessage()
func (*Protocol) ProtoReflect ¶
func (x *Protocol) ProtoReflect() protoreflect.Message
func (*Protocol) SetBootstrapDnsWarp ¶
func (x *Protocol) SetBootstrapDnsWarp(v *BootstrapDnsWarp)
func (*Protocol) SetCloudflareWarpMasque ¶
func (x *Protocol) SetCloudflareWarpMasque(v *CloudflareWarpMasque)
func (*Protocol) SetFixedv2 ¶
func (*Protocol) SetHttpMock ¶
func (*Protocol) SetHttpTermination ¶
func (x *Protocol) SetHttpTermination(v *HttpTermination)
func (*Protocol) SetNetworkSplit ¶
func (x *Protocol) SetNetworkSplit(v *NetworkSplit)
func (*Protocol) SetObfsHttp ¶
func (*Protocol) SetReality ¶
func (*Protocol) SetShadowsocks ¶
func (x *Protocol) SetShadowsocks(v *Shadowsocks)
func (*Protocol) SetShadowsocksr ¶
func (x *Protocol) SetShadowsocksr(v *Shadowsocksr)
func (*Protocol) SetTailscale ¶
func (*Protocol) SetTlsTermination ¶
func (x *Protocol) SetTlsTermination(v *TlsTermination)
func (*Protocol) SetWebsocket ¶
func (*Protocol) SetWireguard ¶
func (*Protocol) SetYuubinsya ¶
func (*Protocol) WhichProtocol ¶
func (x *Protocol) WhichProtocol() case_Protocol_Protocol
type Protocol_builder ¶
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.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
CloudflareWarpMasque *CloudflareWarpMasque
Proxy *Proxy
Fixedv2 *Fixedv2
// contains filtered or unexported fields
}
func (Protocol_builder) Build ¶
func (b0 Protocol_builder) Build() *Protocol
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func (*Proxy) ProtoMessage ¶
func (*Proxy) ProtoMessage()
func (*Proxy) ProtoReflect ¶
func (x *Proxy) ProtoReflect() protoreflect.Message
type Proxy_builder ¶
type Proxy_builder struct {
// contains filtered or unexported fields
}
func (Proxy_builder) Build ¶
func (b0 Proxy_builder) Build() *Proxy
type Publish ¶
type Publish struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Publish) ClearPassword ¶
func (x *Publish) ClearPassword()
func (*Publish) GetPassword ¶
func (*Publish) HasPassword ¶
func (*Publish) ProtoMessage ¶
func (*Publish) ProtoMessage()
func (*Publish) ProtoReflect ¶
func (x *Publish) ProtoReflect() protoreflect.Message
func (*Publish) SetPassword ¶
type Publish_builder ¶
type Publish_builder struct {
Points []string
Path *string
Name *string
Password *string
// contains filtered or unexported fields
}
func (Publish_builder) Build ¶
func (b0 Publish_builder) Build() *Publish
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 ¶
func (Quic_builder) Build ¶
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 ¶
func (x *Reality) ClearDebug()
func (*Reality) ClearMldsa65Verify ¶
func (x *Reality) ClearMldsa65Verify()
func (*Reality) ClearPublicKey ¶
func (x *Reality) ClearPublicKey()
func (*Reality) ClearServerName ¶
func (x *Reality) ClearServerName()
func (*Reality) ClearShortId ¶
func (x *Reality) ClearShortId()
func (*Reality) GetMldsa65Verify ¶
func (*Reality) GetPublicKey ¶
func (*Reality) GetServerName ¶
func (*Reality) GetShortId ¶
func (*Reality) HasMldsa65Verify ¶
func (*Reality) HasPublicKey ¶
func (*Reality) HasServerName ¶
func (*Reality) HasShortId ¶
func (*Reality) ProtoMessage ¶
func (*Reality) ProtoMessage()
func (*Reality) ProtoReflect ¶
func (x *Reality) ProtoReflect() protoreflect.Message
func (*Reality) SetMldsa65Verify ¶
func (*Reality) SetPublicKey ¶
func (*Reality) SetServerName ¶
func (*Reality) SetShortId ¶
type Reality_builder ¶
type Reality_builder struct {
ServerName *string
PublicKey *string
Mldsa65Verify *string
ShortId *string
Debug *bool
// contains filtered or unexported fields
}
func (Reality_builder) Build ¶
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 ¶
type Reject_builder struct {
// contains filtered or unexported fields
}
func (Reject_builder) Build ¶
func (b0 Reject_builder) Build() *Reject
type Reply ¶
type Reply struct {
// contains filtered or unexported fields
}
func (*Reply) ClearError ¶
func (x *Reply) ClearError()
func (*Reply) ClearLatency ¶
func (x *Reply) ClearLatency()
func (*Reply) ClearReply ¶
func (x *Reply) ClearReply()
func (*Reply) GetIp ¶
func (x *Reply) GetIp() *IpResponse
func (*Reply) GetLatency ¶
func (x *Reply) GetLatency() *durationpb.Duration
func (*Reply) GetStun ¶
func (x *Reply) GetStun() *StunResponse
func (*Reply) HasLatency ¶
func (*Reply) ProtoMessage ¶
func (*Reply) ProtoMessage()
func (*Reply) ProtoReflect ¶
func (x *Reply) ProtoReflect() protoreflect.Message
func (*Reply) SetIp ¶
func (x *Reply) SetIp(v *IpResponse)
func (*Reply) SetLatency ¶
func (x *Reply) SetLatency(v *durationpb.Duration)
func (*Reply) SetStun ¶
func (x *Reply) SetStun(v *StunResponse)
func (*Reply) WhichReply ¶
func (x *Reply) WhichReply() case_Reply_Reply
type Reply_builder ¶
type Reply_builder struct {
// Fields of oneof xxx_hidden_Reply:
Latency *durationpb.Duration
Ip *IpResponse
Stun *StunResponse
Error *Error
// contains filtered or unexported fields
}
func (Reply_builder) Build ¶
func (b0 Reply_builder) Build() *Reply
type Request ¶
type Request struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Request) ClearMethod ¶
func (x *Request) ClearMethod()
func (*Request) GetMethod ¶
func (x *Request) GetMethod() *RequestProtocol
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
func (*Request) SetMethod ¶
func (x *Request) SetMethod(v *RequestProtocol)
type RequestProtocol ¶
type RequestProtocol struct {
// contains filtered or unexported fields
}
func (*RequestProtocol) ClearDns ¶
func (x *RequestProtocol) ClearDns()
func (*RequestProtocol) ClearDnsOverQuic ¶
func (x *RequestProtocol) ClearDnsOverQuic()
func (*RequestProtocol) ClearHttp ¶
func (x *RequestProtocol) ClearHttp()
func (*RequestProtocol) ClearIp ¶
func (x *RequestProtocol) ClearIp()
func (*RequestProtocol) ClearProtocol ¶
func (x *RequestProtocol) ClearProtocol()
func (*RequestProtocol) ClearStun ¶
func (x *RequestProtocol) ClearStun()
func (*RequestProtocol) GetDns ¶
func (x *RequestProtocol) GetDns() *DnsTest
func (*RequestProtocol) GetDnsOverQuic ¶
func (x *RequestProtocol) GetDnsOverQuic() *DnsOverQuic
func (*RequestProtocol) GetHttp ¶
func (x *RequestProtocol) GetHttp() *HttpTest
func (*RequestProtocol) GetIp ¶
func (x *RequestProtocol) GetIp() *Ip
func (*RequestProtocol) GetStun ¶
func (x *RequestProtocol) GetStun() *Stun
func (*RequestProtocol) HasDns ¶
func (x *RequestProtocol) HasDns() bool
func (*RequestProtocol) HasDnsOverQuic ¶
func (x *RequestProtocol) HasDnsOverQuic() bool
func (*RequestProtocol) HasHttp ¶
func (x *RequestProtocol) HasHttp() bool
func (*RequestProtocol) HasIp ¶
func (x *RequestProtocol) HasIp() bool
func (*RequestProtocol) HasProtocol ¶
func (x *RequestProtocol) HasProtocol() bool
func (*RequestProtocol) HasStun ¶
func (x *RequestProtocol) HasStun() bool
func (*RequestProtocol) ProtoMessage ¶
func (*RequestProtocol) ProtoMessage()
func (*RequestProtocol) ProtoReflect ¶
func (x *RequestProtocol) ProtoReflect() protoreflect.Message
func (*RequestProtocol) Reset ¶
func (x *RequestProtocol) Reset()
func (*RequestProtocol) SetDns ¶
func (x *RequestProtocol) SetDns(v *DnsTest)
func (*RequestProtocol) SetDnsOverQuic ¶
func (x *RequestProtocol) SetDnsOverQuic(v *DnsOverQuic)
func (*RequestProtocol) SetHttp ¶
func (x *RequestProtocol) SetHttp(v *HttpTest)
func (*RequestProtocol) SetIp ¶
func (x *RequestProtocol) SetIp(v *Ip)
func (*RequestProtocol) SetStun ¶
func (x *RequestProtocol) SetStun(v *Stun)
func (*RequestProtocol) String ¶
func (x *RequestProtocol) String() string
func (*RequestProtocol) WhichProtocol ¶
func (x *RequestProtocol) WhichProtocol() case_RequestProtocol_Protocol
type RequestProtocol_builder ¶
type RequestProtocol_builder struct {
// Fields of oneof xxx_hidden_Protocol:
Http *HttpTest
Dns *DnsTest
DnsOverQuic *DnsOverQuic
Ip *Ip
Stun *Stun
// contains filtered or unexported fields
}
func (RequestProtocol_builder) Build ¶
func (b0 RequestProtocol_builder) Build() *RequestProtocol
type Request_builder ¶
type Request_builder struct {
Id *string
Hash *string
Ipv6 *bool
Method *RequestProtocol
// contains filtered or unexported fields
}
func (Request_builder) Build ¶
func (b0 Request_builder) Build() *Request
type Requests ¶
type Requests struct {
// contains filtered or unexported fields
}
func (*Requests) GetRequests ¶
func (*Requests) ProtoMessage ¶
func (*Requests) ProtoMessage()
func (*Requests) ProtoReflect ¶
func (x *Requests) ProtoReflect() protoreflect.Message
func (*Requests) SetRequests ¶
type Requests_builder ¶
type Requests_builder struct {
Requests []*Request
// contains filtered or unexported fields
}
func (Requests_builder) Build ¶
func (b0 Requests_builder) Build() *Requests
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
func (*Response) GetIdLatencyMap ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
func (*Response) SetIdLatencyMap ¶
type Response_builder ¶
type Response_builder struct {
IdLatencyMap map[string]*Reply
// contains filtered or unexported fields
}
func (Response_builder) Build ¶
func (b0 Response_builder) Build() *Response
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 ¶
func (x *Shadowsocks) ClearMethod()
func (*Shadowsocks) ClearPassword ¶
func (x *Shadowsocks) ClearPassword()
func (*Shadowsocks) GetMethod ¶
func (x *Shadowsocks) GetMethod() string
func (*Shadowsocks) GetPassword ¶
func (x *Shadowsocks) GetPassword() string
func (*Shadowsocks) HasMethod ¶
func (x *Shadowsocks) HasMethod() bool
func (*Shadowsocks) HasPassword ¶
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 ¶
func (x *Shadowsocks) SetMethod(v string)
func (*Shadowsocks) SetPassword ¶
func (x *Shadowsocks) SetPassword(v string)
func (*Shadowsocks) String ¶
func (x *Shadowsocks) String() string
type Shadowsocks_builder ¶
type Shadowsocks_builder struct {
Method *string
Password *string
// contains filtered or unexported fields
}
func (Shadowsocks_builder) Build ¶
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 ¶
func (x *Shadowsocksr) ClearMethod()
func (*Shadowsocksr) ClearObfs ¶
func (x *Shadowsocksr) ClearObfs()
func (*Shadowsocksr) ClearObfsparam ¶
func (x *Shadowsocksr) ClearObfsparam()
func (*Shadowsocksr) ClearPassword ¶
func (x *Shadowsocksr) ClearPassword()
func (*Shadowsocksr) ClearPort ¶
func (x *Shadowsocksr) ClearPort()
func (*Shadowsocksr) ClearProtocol ¶
func (x *Shadowsocksr) ClearProtocol()
func (*Shadowsocksr) ClearProtoparam ¶
func (x *Shadowsocksr) ClearProtoparam()
func (*Shadowsocksr) ClearServer ¶
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 ¶
func (x *Shadowsocksr) HasMethod() bool
func (*Shadowsocksr) HasObfs ¶
func (x *Shadowsocksr) HasObfs() bool
func (*Shadowsocksr) HasObfsparam ¶
func (x *Shadowsocksr) HasObfsparam() bool
func (*Shadowsocksr) HasPassword ¶
func (x *Shadowsocksr) HasPassword() bool
func (*Shadowsocksr) HasPort ¶
func (x *Shadowsocksr) HasPort() bool
func (*Shadowsocksr) HasProtocol ¶
func (x *Shadowsocksr) HasProtocol() bool
func (*Shadowsocksr) HasProtoparam ¶
func (x *Shadowsocksr) HasProtoparam() bool
func (*Shadowsocksr) HasServer ¶
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 ¶
func (x *Shadowsocksr) SetMethod(v string)
func (*Shadowsocksr) SetObfs ¶
func (x *Shadowsocksr) SetObfs(v string)
func (*Shadowsocksr) SetObfsparam ¶
func (x *Shadowsocksr) SetObfsparam(v string)
func (*Shadowsocksr) SetPassword ¶
func (x *Shadowsocksr) SetPassword(v string)
func (*Shadowsocksr) SetPort ¶
func (x *Shadowsocksr) SetPort(v string)
func (*Shadowsocksr) SetProtocol ¶
func (x *Shadowsocksr) SetProtocol(v string)
func (*Shadowsocksr) SetProtoparam ¶
func (x *Shadowsocksr) SetProtoparam(v string)
func (*Shadowsocksr) SetServer ¶
func (x *Shadowsocksr) SetServer(v string)
func (*Shadowsocksr) String ¶
func (x *Shadowsocksr) String() string
type Shadowsocksr_builder ¶
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 ¶
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 ¶
func (x *Simple) ClearNetworkInterface()
func (*Simple) GetAlternateHost ¶
func (*Simple) GetNetworkInterface ¶
func (*Simple) HasNetworkInterface ¶
func (*Simple) ProtoMessage ¶
func (*Simple) ProtoMessage()
func (*Simple) ProtoReflect ¶
func (x *Simple) ProtoReflect() protoreflect.Message
func (*Simple) SetAlternateHost ¶
func (*Simple) SetNetworkInterface ¶
type Simple_builder ¶
type Simple_builder struct {
Host *string
Port *int32
AlternateHost []*Host
NetworkInterface *string
// contains filtered or unexported fields
}
func (Simple_builder) Build ¶
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 ¶
func (x *Socks5) ClearHostname()
func (*Socks5) ClearOverridePort ¶
func (x *Socks5) ClearOverridePort()
func (*Socks5) ClearPassword ¶
func (x *Socks5) ClearPassword()
func (*Socks5) GetHostname ¶
func (*Socks5) GetOverridePort ¶
func (*Socks5) GetPassword ¶
func (*Socks5) HasHostname ¶
func (*Socks5) HasOverridePort ¶
func (*Socks5) HasPassword ¶
func (*Socks5) ProtoMessage ¶
func (*Socks5) ProtoMessage()
func (*Socks5) ProtoReflect ¶
func (x *Socks5) ProtoReflect() protoreflect.Message
func (*Socks5) SetHostname ¶
func (*Socks5) SetOverridePort ¶
func (*Socks5) SetPassword ¶
type Socks5_builder ¶
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 ¶
func (b0 Socks5_builder) Build() *Socks5
type Stun ¶
type Stun struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Stun) ProtoMessage ¶
func (*Stun) ProtoMessage()
func (*Stun) ProtoReflect ¶
func (x *Stun) ProtoReflect() protoreflect.Message
type StunResponse ¶
type StunResponse struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*StunResponse) ClearFiltering ¶
func (x *StunResponse) ClearFiltering()
func (*StunResponse) ClearMappedAddress ¶
func (x *StunResponse) ClearMappedAddress()
func (*StunResponse) ClearMapping ¶
func (x *StunResponse) ClearMapping()
func (*StunResponse) ClearOtherAddress ¶
func (x *StunResponse) ClearOtherAddress()
func (*StunResponse) ClearResponseOriginAddress ¶
func (x *StunResponse) ClearResponseOriginAddress()
func (*StunResponse) ClearSoftware ¶
func (x *StunResponse) ClearSoftware()
func (*StunResponse) ClearXorMappedAddress ¶
func (x *StunResponse) ClearXorMappedAddress()
func (*StunResponse) GetFiltering ¶
func (x *StunResponse) GetFiltering() NatType
func (*StunResponse) GetMappedAddress ¶
func (x *StunResponse) GetMappedAddress() string
func (*StunResponse) GetMapping ¶
func (x *StunResponse) GetMapping() NatType
func (*StunResponse) GetOtherAddress ¶
func (x *StunResponse) GetOtherAddress() string
func (*StunResponse) GetResponseOriginAddress ¶
func (x *StunResponse) GetResponseOriginAddress() string
func (*StunResponse) GetSoftware ¶
func (x *StunResponse) GetSoftware() string
func (*StunResponse) GetXorMappedAddress ¶
func (x *StunResponse) GetXorMappedAddress() string
func (*StunResponse) HasFiltering ¶
func (x *StunResponse) HasFiltering() bool
func (*StunResponse) HasMappedAddress ¶
func (x *StunResponse) HasMappedAddress() bool
func (*StunResponse) HasMapping ¶
func (x *StunResponse) HasMapping() bool
func (*StunResponse) HasOtherAddress ¶
func (x *StunResponse) HasOtherAddress() bool
func (*StunResponse) HasResponseOriginAddress ¶
func (x *StunResponse) HasResponseOriginAddress() bool
func (*StunResponse) HasSoftware ¶
func (x *StunResponse) HasSoftware() bool
func (*StunResponse) HasXorMappedAddress ¶
func (x *StunResponse) HasXorMappedAddress() bool
func (*StunResponse) ProtoMessage ¶
func (*StunResponse) ProtoMessage()
func (*StunResponse) ProtoReflect ¶
func (x *StunResponse) ProtoReflect() protoreflect.Message
func (*StunResponse) Reset ¶
func (x *StunResponse) Reset()
func (*StunResponse) SetFiltering ¶
func (x *StunResponse) SetFiltering(v NatType)
func (*StunResponse) SetMappedAddress ¶
func (x *StunResponse) SetMappedAddress(v string)
func (*StunResponse) SetMapping ¶
func (x *StunResponse) SetMapping(v NatType)
func (*StunResponse) SetOtherAddress ¶
func (x *StunResponse) SetOtherAddress(v string)
func (*StunResponse) SetResponseOriginAddress ¶
func (x *StunResponse) SetResponseOriginAddress(v string)
func (*StunResponse) SetSoftware ¶
func (x *StunResponse) SetSoftware(v string)
func (*StunResponse) SetXorMappedAddress ¶
func (x *StunResponse) SetXorMappedAddress(v string)
func (*StunResponse) String ¶
func (x *StunResponse) String() string
type StunResponse_builder ¶
type StunResponse_builder struct {
XorMappedAddress *string
MappedAddress *string
OtherAddress *string
ResponseOriginAddress *string
Software *string
Mapping *NatType
Filtering *NatType
// contains filtered or unexported fields
}
func (StunResponse_builder) Build ¶
func (b0 StunResponse_builder) Build() *StunResponse
type Stun_builder ¶
func (Stun_builder) Build ¶
func (b0 Stun_builder) Build() *Stun
type TagType ¶
type TagType int32
func (TagType) Descriptor ¶
func (TagType) Descriptor() protoreflect.EnumDescriptor
func (TagType) Number ¶
func (x TagType) Number() protoreflect.EnumNumber
func (TagType) Type ¶
func (TagType) Type() protoreflect.EnumType
type Tags ¶
type Tags struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Tags) ProtoMessage ¶
func (*Tags) ProtoMessage()
func (*Tags) ProtoReflect ¶
func (x *Tags) ProtoReflect() protoreflect.Message
type Tags_builder ¶
type Tags_builder struct {
Tag *string
Type *TagType
Hash []string
// contains filtered or unexported fields
}
func (Tags_builder) Build ¶
func (b0 Tags_builder) Build() *Tags
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 ¶
func (x *TlsConfig) ClearEchConfig()
func (*TlsConfig) ClearEnable ¶
func (x *TlsConfig) ClearEnable()
func (*TlsConfig) ClearInsecureSkipVerify ¶
func (x *TlsConfig) ClearInsecureSkipVerify()
func (*TlsConfig) GetEchConfig ¶
func (*TlsConfig) GetInsecureSkipVerify ¶
func (*TlsConfig) GetNextProtos ¶
func (*TlsConfig) GetServerNames ¶
func (*TlsConfig) HasEchConfig ¶
func (*TlsConfig) HasInsecureSkipVerify ¶
func (*TlsConfig) ProtoMessage ¶
func (*TlsConfig) ProtoMessage()
func (*TlsConfig) ProtoReflect ¶
func (x *TlsConfig) ProtoReflect() protoreflect.Message
func (*TlsConfig) SetEchConfig ¶
func (*TlsConfig) SetInsecureSkipVerify ¶
func (*TlsConfig) SetNextProtos ¶
func (*TlsConfig) SetServerNames ¶
type TlsConfig_builder ¶
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 ¶
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 ¶
func (x *Trojan) ClearPassword()
func (*Trojan) GetPassword ¶
func (*Trojan) HasPassword ¶
func (*Trojan) ProtoMessage ¶
func (*Trojan) ProtoMessage()
func (*Trojan) ProtoReflect ¶
func (x *Trojan) ProtoReflect() protoreflect.Message
func (*Trojan) SetPassword ¶
type Trojan_builder ¶
type Trojan_builder struct {
Password *string
Peer *string
// contains filtered or unexported fields
}
func (Trojan_builder) Build ¶
func (b0 Trojan_builder) Build() *Trojan
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
type Vless ¶
type Vless struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Vless) ProtoMessage ¶
func (*Vless) ProtoMessage()
func (*Vless) ProtoReflect ¶
func (x *Vless) ProtoReflect() protoreflect.Message
type Vless_builder ¶
type Vless_builder struct {
Uuid *string
// contains filtered or unexported fields
}
func (Vless_builder) Build ¶
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 ¶
func (x *Vmess) ClearAlterId()
func (*Vmess) ClearSecurity ¶
func (x *Vmess) ClearSecurity()
func (*Vmess) GetAlterId ¶
func (*Vmess) GetSecurity ¶
func (*Vmess) HasAlterId ¶
func (*Vmess) HasSecurity ¶
func (*Vmess) ProtoMessage ¶
func (*Vmess) ProtoMessage()
func (*Vmess) ProtoReflect ¶
func (x *Vmess) ProtoReflect() protoreflect.Message
func (*Vmess) SetAlterId ¶
func (*Vmess) SetSecurity ¶
type Vmess_builder ¶
type Vmess_builder struct {
// uuid
Uuid *string
// alter id
AlterId *string
Security *string
// contains filtered or unexported fields
}
func (Vmess_builder) Build ¶
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 ¶
type Websocket_builder struct {
Host *string
Path *string
// contains filtered or unexported fields
}
func (Websocket_builder) Build ¶
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 ¶
func (x *Wireguard) ClearReserved()
func (*Wireguard) ClearSecretKey ¶
func (x *Wireguard) ClearSecretKey()
func (*Wireguard) GetEndpoint ¶
func (*Wireguard) GetPeers ¶
func (x *Wireguard) GetPeers() []*WireguardPeerConfig
func (*Wireguard) GetReserved ¶
func (*Wireguard) GetSecretKey ¶
func (*Wireguard) HasReserved ¶
func (*Wireguard) HasSecretKey ¶
func (*Wireguard) ProtoMessage ¶
func (*Wireguard) ProtoMessage()
func (*Wireguard) ProtoReflect ¶
func (x *Wireguard) ProtoReflect() protoreflect.Message
func (*Wireguard) SetEndpoint ¶
func (*Wireguard) SetPeers ¶
func (x *Wireguard) SetPeers(v []*WireguardPeerConfig)
func (*Wireguard) SetReserved ¶
func (*Wireguard) SetSecretKey ¶
type WireguardPeerConfig ¶
type WireguardPeerConfig struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*WireguardPeerConfig) ClearEndpoint ¶
func (x *WireguardPeerConfig) ClearEndpoint()
func (*WireguardPeerConfig) ClearKeepAlive ¶
func (x *WireguardPeerConfig) ClearKeepAlive()
func (*WireguardPeerConfig) ClearPreSharedKey ¶
func (x *WireguardPeerConfig) ClearPreSharedKey()
func (*WireguardPeerConfig) ClearPublicKey ¶
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 ¶
func (x *WireguardPeerConfig) HasEndpoint() bool
func (*WireguardPeerConfig) HasKeepAlive ¶
func (x *WireguardPeerConfig) HasKeepAlive() bool
func (*WireguardPeerConfig) HasPreSharedKey ¶
func (x *WireguardPeerConfig) HasPreSharedKey() bool
func (*WireguardPeerConfig) HasPublicKey ¶
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 ¶
func (x *WireguardPeerConfig) SetAllowedIps(v []string)
func (*WireguardPeerConfig) SetEndpoint ¶
func (x *WireguardPeerConfig) SetEndpoint(v string)
func (*WireguardPeerConfig) SetKeepAlive ¶
func (x *WireguardPeerConfig) SetKeepAlive(v int32)
func (*WireguardPeerConfig) SetPreSharedKey ¶
func (x *WireguardPeerConfig) SetPreSharedKey(v string)
func (*WireguardPeerConfig) SetPublicKey ¶
func (x *WireguardPeerConfig) SetPublicKey(v string)
func (*WireguardPeerConfig) String ¶
func (x *WireguardPeerConfig) String() string
type WireguardPeerConfig_builder ¶
type WireguardPeerConfig_builder struct {
PublicKey *string
Endpoint *string
KeepAlive *int32
AllowedIps []string
// contains filtered or unexported fields
}
func (WireguardPeerConfig_builder) Build ¶
func (b0 WireguardPeerConfig_builder) Build() *WireguardPeerConfig
type Wireguard_builder ¶
type Wireguard_builder struct {
SecretKey *string
Endpoint []string
Peers []*WireguardPeerConfig
Mtu *int32
Reserved []byte
// contains filtered or unexported fields
}
func (Wireguard_builder) Build ¶
func (b0 Wireguard_builder) Build() *Wireguard
type YuhaiinUrl ¶
type YuhaiinUrl struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*YuhaiinUrl) ClearName ¶
func (x *YuhaiinUrl) ClearName()
func (*YuhaiinUrl) ClearPoints ¶
func (x *YuhaiinUrl) ClearPoints()
func (*YuhaiinUrl) ClearRemote ¶
func (x *YuhaiinUrl) ClearRemote()
func (*YuhaiinUrl) ClearUrl ¶
func (x *YuhaiinUrl) ClearUrl()
func (*YuhaiinUrl) GetName ¶
func (x *YuhaiinUrl) GetName() string
func (*YuhaiinUrl) GetPoints ¶
func (x *YuhaiinUrl) GetPoints() *YuhaiinUrl_Points
func (*YuhaiinUrl) GetRemote ¶
func (x *YuhaiinUrl) GetRemote() *YuhaiinUrl_Remote
func (*YuhaiinUrl) HasName ¶
func (x *YuhaiinUrl) HasName() bool
func (*YuhaiinUrl) HasPoints ¶
func (x *YuhaiinUrl) HasPoints() bool
func (*YuhaiinUrl) HasRemote ¶
func (x *YuhaiinUrl) HasRemote() bool
func (*YuhaiinUrl) HasUrl ¶
func (x *YuhaiinUrl) HasUrl() bool
func (*YuhaiinUrl) ProtoMessage ¶
func (*YuhaiinUrl) ProtoMessage()
func (*YuhaiinUrl) ProtoReflect ¶
func (x *YuhaiinUrl) ProtoReflect() protoreflect.Message
func (*YuhaiinUrl) Reset ¶
func (x *YuhaiinUrl) Reset()
func (*YuhaiinUrl) SetName ¶
func (x *YuhaiinUrl) SetName(v string)
func (*YuhaiinUrl) SetPoints ¶
func (x *YuhaiinUrl) SetPoints(v *YuhaiinUrl_Points)
func (*YuhaiinUrl) SetRemote ¶
func (x *YuhaiinUrl) SetRemote(v *YuhaiinUrl_Remote)
func (*YuhaiinUrl) String ¶
func (x *YuhaiinUrl) String() string
func (*YuhaiinUrl) WhichUrl ¶
func (x *YuhaiinUrl) WhichUrl() case_YuhaiinUrl_Url
type YuhaiinUrl_Points ¶
type YuhaiinUrl_Points struct {
// contains filtered or unexported fields
}
func (*YuhaiinUrl_Points) GetPoints ¶
func (x *YuhaiinUrl_Points) GetPoints() []*Point
func (*YuhaiinUrl_Points) ProtoMessage ¶
func (*YuhaiinUrl_Points) ProtoMessage()
func (*YuhaiinUrl_Points) ProtoReflect ¶
func (x *YuhaiinUrl_Points) ProtoReflect() protoreflect.Message
func (*YuhaiinUrl_Points) Reset ¶
func (x *YuhaiinUrl_Points) Reset()
func (*YuhaiinUrl_Points) SetPoints ¶
func (x *YuhaiinUrl_Points) SetPoints(v []*Point)
func (*YuhaiinUrl_Points) String ¶
func (x *YuhaiinUrl_Points) String() string
type YuhaiinUrl_Points_builder ¶
type YuhaiinUrl_Points_builder struct {
Points []*Point
// contains filtered or unexported fields
}
func (YuhaiinUrl_Points_builder) Build ¶
func (b0 YuhaiinUrl_Points_builder) Build() *YuhaiinUrl_Points
type YuhaiinUrl_Remote ¶
type YuhaiinUrl_Remote struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*YuhaiinUrl_Remote) ClearInsecure ¶
func (x *YuhaiinUrl_Remote) ClearInsecure()
func (*YuhaiinUrl_Remote) ClearPublish ¶
func (x *YuhaiinUrl_Remote) ClearPublish()
func (*YuhaiinUrl_Remote) ClearUrl ¶
func (x *YuhaiinUrl_Remote) ClearUrl()
func (*YuhaiinUrl_Remote) GetInsecure ¶
func (x *YuhaiinUrl_Remote) GetInsecure() bool
func (*YuhaiinUrl_Remote) GetPublish ¶
func (x *YuhaiinUrl_Remote) GetPublish() *Publish
func (*YuhaiinUrl_Remote) GetUrl ¶
func (x *YuhaiinUrl_Remote) GetUrl() string
func (*YuhaiinUrl_Remote) HasInsecure ¶
func (x *YuhaiinUrl_Remote) HasInsecure() bool
func (*YuhaiinUrl_Remote) HasPublish ¶
func (x *YuhaiinUrl_Remote) HasPublish() bool
func (*YuhaiinUrl_Remote) HasUrl ¶
func (x *YuhaiinUrl_Remote) HasUrl() bool
func (*YuhaiinUrl_Remote) ProtoMessage ¶
func (*YuhaiinUrl_Remote) ProtoMessage()
func (*YuhaiinUrl_Remote) ProtoReflect ¶
func (x *YuhaiinUrl_Remote) ProtoReflect() protoreflect.Message
func (*YuhaiinUrl_Remote) Reset ¶
func (x *YuhaiinUrl_Remote) Reset()
func (*YuhaiinUrl_Remote) SetInsecure ¶
func (x *YuhaiinUrl_Remote) SetInsecure(v bool)
func (*YuhaiinUrl_Remote) SetPublish ¶
func (x *YuhaiinUrl_Remote) SetPublish(v *Publish)
func (*YuhaiinUrl_Remote) SetUrl ¶
func (x *YuhaiinUrl_Remote) SetUrl(v string)
func (*YuhaiinUrl_Remote) String ¶
func (x *YuhaiinUrl_Remote) String() string
type YuhaiinUrl_Remote_builder ¶
type YuhaiinUrl_Remote_builder struct {
Url *string
Insecure *bool
Publish *Publish
// contains filtered or unexported fields
}
func (YuhaiinUrl_Remote_builder) Build ¶
func (b0 YuhaiinUrl_Remote_builder) Build() *YuhaiinUrl_Remote
type YuhaiinUrl_builder ¶
type YuhaiinUrl_builder struct {
// Fields of oneof xxx_hidden_Url:
Remote *YuhaiinUrl_Remote
Points *YuhaiinUrl_Points
// -- end of xxx_hidden_Url
Name *string
// contains filtered or unexported fields
}
func (YuhaiinUrl_builder) Build ¶
func (b0 YuhaiinUrl_builder) Build() *YuhaiinUrl
type Yuubinsya ¶
type Yuubinsya struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Yuubinsya) ClearPassword ¶
func (x *Yuubinsya) ClearPassword()
func (*Yuubinsya) ClearUdpCoalesce ¶
func (x *Yuubinsya) ClearUdpCoalesce()
func (*Yuubinsya) ClearUdpOverStream ¶
func (x *Yuubinsya) ClearUdpOverStream()
func (*Yuubinsya) GetPassword ¶
func (*Yuubinsya) GetUdpCoalesce ¶
func (*Yuubinsya) GetUdpOverStream ¶
func (*Yuubinsya) HasPassword ¶
func (*Yuubinsya) HasUdpCoalesce ¶
func (*Yuubinsya) HasUdpOverStream ¶
func (*Yuubinsya) ProtoMessage ¶
func (*Yuubinsya) ProtoMessage()
func (*Yuubinsya) ProtoReflect ¶
func (x *Yuubinsya) ProtoReflect() protoreflect.Message
func (*Yuubinsya) SetPassword ¶
func (*Yuubinsya) SetUdpCoalesce ¶
func (*Yuubinsya) SetUdpOverStream ¶
type Yuubinsya_builder ¶
type Yuubinsya_builder struct {
Password *string
UdpOverStream *bool
UdpCoalesce *bool
// contains filtered or unexported fields
}
func (Yuubinsya_builder) Build ¶
func (b0 Yuubinsya_builder) Build() *Yuubinsya
Click to show internal directories.
Click to hide internal directories.