node

package
v0.3.9-beta.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 (x *Aead) GetPassword() string

func (*Aead) HasCryptoMethod

func (x *Aead) HasCryptoMethod() bool

func (*Aead) HasPassword

func (x *Aead) HasPassword() bool

func (*Aead) ProtoMessage

func (*Aead) ProtoMessage()

func (*Aead) ProtoReflect

func (x *Aead) ProtoReflect() protoreflect.Message

func (*Aead) Reset

func (x *Aead) Reset()

func (*Aead) SetCryptoMethod

func (x *Aead) SetCryptoMethod(v AeadCryptoMethod)

func (*Aead) SetPassword

func (x *Aead) SetPassword(v string)

func (*Aead) String

func (x *Aead) String() string

type AeadCryptoMethod

type AeadCryptoMethod int32
const (
	AeadCryptoMethod_Chacha20Poly1305  AeadCryptoMethod = 0
	AeadCryptoMethod_XChacha20Poly1305 AeadCryptoMethod = 1
)

func (AeadCryptoMethod) Descriptor

func (AeadCryptoMethod) Enum

func (AeadCryptoMethod) Number

func (AeadCryptoMethod) String

func (x AeadCryptoMethod) String() string

func (AeadCryptoMethod) Type

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

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

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 (x *Direct) GetNetworkInterface() string

func (*Direct) HasNetworkInterface

func (x *Direct) HasNetworkInterface() bool

func (*Direct) ProtoMessage

func (*Direct) ProtoMessage()

func (*Direct) ProtoReflect

func (x *Direct) ProtoReflect() protoreflect.Message

func (*Direct) Reset

func (x *Direct) Reset()

func (*Direct) SetNetworkInterface

func (x *Direct) SetNetworkInterface(v string)

func (*Direct) String

func (x *Direct) String() string

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) ClearHost

func (x *DnsTest) ClearHost()

func (*DnsTest) ClearTargetDomain

func (x *DnsTest) ClearTargetDomain()

func (*DnsTest) GetHost

func (x *DnsTest) GetHost() string

func (*DnsTest) GetTargetDomain

func (x *DnsTest) GetTargetDomain() string

func (*DnsTest) HasHost

func (x *DnsTest) HasHost() bool

func (*DnsTest) HasTargetDomain

func (x *DnsTest) HasTargetDomain() bool

func (*DnsTest) ProtoMessage

func (*DnsTest) ProtoMessage()

func (*DnsTest) ProtoReflect

func (x *DnsTest) ProtoReflect() protoreflect.Message

func (*DnsTest) Reset

func (x *DnsTest) Reset()

func (*DnsTest) SetHost

func (x *DnsTest) SetHost(v string)

func (*DnsTest) SetTargetDomain

func (x *DnsTest) SetTargetDomain(v string)

func (*DnsTest) String

func (x *DnsTest) String() string

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

func (*Drop) Reset

func (x *Drop) Reset()

func (*Drop) String

func (x *Drop) String() string

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) ClearMsg

func (x *Error) ClearMsg()

func (*Error) GetMsg

func (x *Error) GetMsg() string

func (*Error) HasMsg

func (x *Error) HasMsg() bool

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) SetMsg

func (x *Error) SetMsg(v string)

func (*Error) String

func (x *Error) String() string

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) ClearHost

func (x *Fixed) ClearHost()

func (*Fixed) ClearNetworkInterface

func (x *Fixed) ClearNetworkInterface()

func (*Fixed) ClearPort

func (x *Fixed) ClearPort()

func (*Fixed) GetAlternateHost

func (x *Fixed) GetAlternateHost() []*Host

func (*Fixed) GetHost

func (x *Fixed) GetHost() string

func (*Fixed) GetNetworkInterface

func (x *Fixed) GetNetworkInterface() string

func (*Fixed) GetPort

func (x *Fixed) GetPort() int32

func (*Fixed) HasHost

func (x *Fixed) HasHost() bool

func (*Fixed) HasNetworkInterface

func (x *Fixed) HasNetworkInterface() bool

func (*Fixed) HasPort

func (x *Fixed) HasPort() bool

func (*Fixed) ProtoMessage

func (*Fixed) ProtoMessage()

func (*Fixed) ProtoReflect

func (x *Fixed) ProtoReflect() protoreflect.Message

func (*Fixed) Reset

func (x *Fixed) Reset()

func (*Fixed) SetAlternateHost

func (x *Fixed) SetAlternateHost(v []*Host)

func (*Fixed) SetHost

func (x *Fixed) SetHost(v string)

func (*Fixed) SetNetworkInterface

func (x *Fixed) SetNetworkInterface(v string)

func (*Fixed) SetPort

func (x *Fixed) SetPort(v int32)

func (*Fixed) String

func (x *Fixed) String() string

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) Reset

func (x *Fixedv2) Reset()

func (*Fixedv2) SetAddresses

func (x *Fixedv2) SetAddresses(v []*Fixedv2Address)

func (*Fixedv2) String

func (x *Fixedv2) String() string

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

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) ClearTls

func (x *Grpc) ClearTls()

func (*Grpc) GetTls

func (x *Grpc) GetTls() *TlsConfig

func (*Grpc) HasTls

func (x *Grpc) HasTls() bool

func (*Grpc) ProtoMessage

func (*Grpc) ProtoMessage()

func (*Grpc) ProtoReflect

func (x *Grpc) ProtoReflect() protoreflect.Message

func (*Grpc) Reset

func (x *Grpc) Reset()

func (*Grpc) SetTls

func (x *Grpc) SetTls(v *TlsConfig)

func (*Grpc) String

func (x *Grpc) String() string

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) ClearHost

func (x *Host) ClearHost()

func (*Host) ClearPort

func (x *Host) ClearPort()

func (*Host) GetHost

func (x *Host) GetHost() string

func (*Host) GetPort

func (x *Host) GetPort() int32

func (*Host) HasHost

func (x *Host) HasHost() bool

func (*Host) HasPort

func (x *Host) HasPort() bool

func (*Host) ProtoMessage

func (*Host) ProtoMessage()

func (*Host) ProtoReflect

func (x *Host) ProtoReflect() protoreflect.Message

func (*Host) Reset

func (x *Host) Reset()

func (*Host) SetHost

func (x *Host) SetHost(v string)

func (*Host) SetPort

func (x *Host) SetPort(v int32)

func (*Host) String

func (x *Host) String() string

type Host_builder

type Host_builder struct {
	Host *string
	Port *int32
	// contains filtered or unexported fields
}

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) ClearUser

func (x *Http) ClearUser()

func (*Http) GetPassword

func (x *Http) GetPassword() string

func (*Http) GetUser

func (x *Http) GetUser() string

func (*Http) HasPassword

func (x *Http) HasPassword() bool

func (*Http) HasUser

func (x *Http) HasUser() bool

func (*Http) ProtoMessage

func (*Http) ProtoMessage()

func (*Http) ProtoReflect

func (x *Http) ProtoReflect() protoreflect.Message

func (*Http) Reset

func (x *Http) Reset()

func (*Http) SetPassword

func (x *Http) SetPassword(v string)

func (*Http) SetUser

func (x *Http) SetUser(v string)

func (*Http) String

func (x *Http) String() string

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 (x *Http2) GetConcurrency() int32

func (*Http2) HasConcurrency

func (x *Http2) HasConcurrency() bool

func (*Http2) ProtoMessage

func (*Http2) ProtoMessage()

func (*Http2) ProtoReflect

func (x *Http2) ProtoReflect() protoreflect.Message

func (*Http2) Reset

func (x *Http2) Reset()

func (*Http2) SetConcurrency

func (x *Http2) SetConcurrency(v int32)

func (*Http2) String

func (x *Http2) String() string

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) ClearData

func (x *HttpMock) ClearData()

func (*HttpMock) GetData

func (x *HttpMock) GetData() []byte

func (*HttpMock) HasData

func (x *HttpMock) HasData() bool

func (*HttpMock) ProtoMessage

func (*HttpMock) ProtoMessage()

func (*HttpMock) ProtoReflect

func (x *HttpMock) ProtoReflect() protoreflect.Message

func (*HttpMock) Reset

func (x *HttpMock) Reset()

func (*HttpMock) SetData

func (x *HttpMock) SetData(v []byte)

func (*HttpMock) String

func (x *HttpMock) String() string

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 (*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

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

type HttpTest

type HttpTest struct {
	XXX_raceDetectHookData protoimpl.RaceDetectHookData
	XXX_presence           [1]uint32
	// contains filtered or unexported fields
}

func (*HttpTest) ClearUrl

func (x *HttpTest) ClearUrl()

func (*HttpTest) GetUrl

func (x *HttpTest) GetUrl() string

func (*HttpTest) HasUrl

func (x *HttpTest) HasUrl() bool

func (*HttpTest) ProtoMessage

func (*HttpTest) ProtoMessage()

func (*HttpTest) ProtoReflect

func (x *HttpTest) ProtoReflect() protoreflect.Message

func (*HttpTest) Reset

func (x *HttpTest) Reset()

func (*HttpTest) SetUrl

func (x *HttpTest) SetUrl(v string)

func (*HttpTest) String

func (x *HttpTest) String() string

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) ClearUrl

func (x *Ip) ClearUrl()

func (*Ip) ClearUserAgent

func (x *Ip) ClearUserAgent()

func (*Ip) GetUrl

func (x *Ip) GetUrl() string

func (*Ip) GetUserAgent

func (x *Ip) GetUserAgent() string

func (*Ip) HasUrl

func (x *Ip) HasUrl() bool

func (*Ip) HasUserAgent

func (x *Ip) HasUserAgent() bool

func (*Ip) ProtoMessage

func (*Ip) ProtoMessage()

func (*Ip) ProtoReflect

func (x *Ip) ProtoReflect() protoreflect.Message

func (*Ip) Reset

func (x *Ip) Reset()

func (*Ip) SetUrl

func (x *Ip) SetUrl(v string)

func (*Ip) SetUserAgent

func (x *Ip) SetUserAgent(v string)

func (*Ip) String

func (x *Ip) String() string

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

type Ip_builder struct {
	Url       *string
	UserAgent *string
	// contains filtered or unexported fields
}

func (Ip_builder) Build

func (b0 Ip_builder) Build() *Ip
type Link struct {
	XXX_raceDetectHookData protoimpl.RaceDetectHookData
	XXX_presence           [1]uint32
	// contains filtered or unexported fields
}

func (*Link) ClearName

func (x *Link) ClearName()

func (*Link) ClearType

func (x *Link) ClearType()

func (*Link) ClearUrl

func (x *Link) ClearUrl()

func (*Link) GetName

func (x *Link) GetName() string

func (*Link) GetType

func (x *Link) GetType() Type

func (*Link) GetUrl

func (x *Link) GetUrl() string

func (*Link) HasName

func (x *Link) HasName() bool

func (*Link) HasType

func (x *Link) HasType() bool

func (*Link) HasUrl

func (x *Link) HasUrl() bool

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect

func (x *Link) ProtoReflect() protoreflect.Message

func (*Link) Reset

func (x *Link) Reset()

func (*Link) SetName

func (x *Link) SetName(v string)

func (*Link) SetType

func (x *Link) SetType(v Type)

func (*Link) SetUrl

func (x *Link) SetUrl(v string)

func (*Link) String

func (x *Link) String() string
type Link_builder struct {
	Name *string
	Type *Type
	Url  *string
	// contains filtered or unexported fields
}
func (b0 Link_builder) Build() *Link

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func (*Manager) GetNodes

func (x *Manager) GetNodes() map[string]*Point

func (*Manager) GetPublishes

func (x *Manager) GetPublishes() map[string]*Publish

func (*Manager) GetTags

func (x *Manager) GetTags() map[string]*Tags

func (*Manager) ProtoMessage

func (*Manager) ProtoMessage()

func (*Manager) ProtoReflect

func (x *Manager) ProtoReflect() protoreflect.Message

func (*Manager) Reset

func (x *Manager) Reset()

func (*Manager) SetNodes added in v0.3.8

func (x *Manager) SetNodes(v map[string]*Point)

func (*Manager) SetPublishes

func (x *Manager) SetPublishes(v map[string]*Publish)

func (*Manager) SetTags added in v0.3.8

func (x *Manager) SetTags(v map[string]*Tags)

func (*Manager) String

func (x *Manager) String() string

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 (x *Mux) GetConcurrency() int32

func (*Mux) HasConcurrency

func (x *Mux) HasConcurrency() bool

func (*Mux) ProtoMessage

func (*Mux) ProtoMessage()

func (*Mux) ProtoReflect

func (x *Mux) ProtoReflect() protoreflect.Message

func (*Mux) Reset

func (x *Mux) Reset()

func (*Mux) SetConcurrency

func (x *Mux) SetConcurrency(v int32)

func (*Mux) String

func (x *Mux) String() string

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) Enum

func (x NatType) Enum() *NatType

func (NatType) Number

func (x NatType) Number() protoreflect.EnumNumber

func (NatType) String

func (x NatType) String() string

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) ClearTcp added in v0.3.8

func (x *Node) ClearTcp()

func (*Node) ClearUdp added in v0.3.8

func (x *Node) ClearUdp()
func (x *Node) GetLinks() map[string]*Link

func (*Node) GetManager

func (x *Node) GetManager() *Manager

func (*Node) GetTcp

func (x *Node) GetTcp() *Point

func (*Node) GetUdp

func (x *Node) GetUdp() *Point

func (*Node) HasManager added in v0.3.8

func (x *Node) HasManager() bool

func (*Node) HasTcp added in v0.3.8

func (x *Node) HasTcp() bool

func (*Node) HasUdp added in v0.3.8

func (x *Node) HasUdp() bool

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

func (x *Node) ProtoReflect() protoreflect.Message

func (*Node) Reset

func (x *Node) Reset()
func (x *Node) SetLinks(v map[string]*Link)

func (*Node) SetManager added in v0.3.8

func (x *Node) SetManager(v *Manager)

func (*Node) SetTcp added in v0.3.8

func (x *Node) SetTcp(v *Point)

func (*Node) SetUdp added in v0.3.8

func (x *Node) SetUdp(v *Point)

func (*Node) String

func (x *Node) String() string

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

func (*None) Reset

func (x *None) Reset()

func (*None) String

func (x *None) String() string

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) ClearHost

func (x *ObfsHttp) ClearHost()

func (*ObfsHttp) ClearPort

func (x *ObfsHttp) ClearPort()

func (*ObfsHttp) GetHost

func (x *ObfsHttp) GetHost() string

func (*ObfsHttp) GetPort

func (x *ObfsHttp) GetPort() string

func (*ObfsHttp) HasHost

func (x *ObfsHttp) HasHost() bool

func (*ObfsHttp) HasPort

func (x *ObfsHttp) HasPort() bool

func (*ObfsHttp) ProtoMessage

func (*ObfsHttp) ProtoMessage()

func (*ObfsHttp) ProtoReflect

func (x *ObfsHttp) ProtoReflect() protoreflect.Message

func (*ObfsHttp) Reset

func (x *ObfsHttp) Reset()

func (*ObfsHttp) SetHost

func (x *ObfsHttp) SetHost(v string)

func (*ObfsHttp) SetPort

func (x *ObfsHttp) SetPort(v string)

func (*ObfsHttp) String

func (x *ObfsHttp) String() string

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
const (
	Origin_reserve Origin = 0
	Origin_remote  Origin = 101
	Origin_manual  Origin = 102
)

func (Origin) Descriptor

func (Origin) Descriptor() protoreflect.EnumDescriptor

func (Origin) Enum

func (x Origin) Enum() *Origin

func (Origin) Number

func (x Origin) Number() protoreflect.EnumNumber

func (Origin) String

func (x Origin) String() string

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) ClearHash

func (x *Point) ClearHash()

func (*Point) ClearName

func (x *Point) ClearName()

func (*Point) ClearOrigin

func (x *Point) ClearOrigin()

func (*Point) GetGroup

func (x *Point) GetGroup() string

func (*Point) GetHash

func (x *Point) GetHash() string

func (*Point) GetName

func (x *Point) GetName() string

func (*Point) GetOrigin

func (x *Point) GetOrigin() Origin

func (*Point) GetProtocols

func (x *Point) GetProtocols() []*Protocol

func (*Point) HasGroup

func (x *Point) HasGroup() bool

func (*Point) HasHash

func (x *Point) HasHash() bool

func (*Point) HasName

func (x *Point) HasName() bool

func (*Point) HasOrigin

func (x *Point) HasOrigin() bool

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

func (x *Point) ProtoReflect() protoreflect.Message

func (*Point) Reset

func (x *Point) Reset()

func (*Point) SetGroup

func (x *Point) SetGroup(v string)

func (*Point) SetHash

func (x *Point) SetHash(v string)

func (*Point) SetName

func (x *Point) SetName(v string)

func (*Point) SetOrigin

func (x *Point) SetOrigin(v Origin)

func (*Point) SetProtocols

func (x *Point) SetProtocols(v []*Protocol)

func (*Point) String

func (x *Point) String() string

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) ClearAead

func (x *Protocol) ClearAead()

func (*Protocol) ClearBootstrapDnsWarp

func (x *Protocol) ClearBootstrapDnsWarp()

func (*Protocol) ClearCloudflareWarpMasque

func (x *Protocol) ClearCloudflareWarpMasque()

func (*Protocol) ClearDirect

func (x *Protocol) ClearDirect()

func (*Protocol) ClearDrop

func (x *Protocol) ClearDrop()

func (*Protocol) ClearFixed

func (x *Protocol) ClearFixed()

func (*Protocol) ClearFixedv2

func (x *Protocol) ClearFixedv2()

func (*Protocol) ClearGrpc

func (x *Protocol) ClearGrpc()

func (*Protocol) ClearHttp

func (x *Protocol) ClearHttp()

func (*Protocol) ClearHttp2

func (x *Protocol) ClearHttp2()

func (*Protocol) ClearHttpMock

func (x *Protocol) ClearHttpMock()

func (*Protocol) ClearHttpTermination

func (x *Protocol) ClearHttpTermination()

func (*Protocol) ClearMux

func (x *Protocol) ClearMux()

func (*Protocol) ClearNetworkSplit

func (x *Protocol) ClearNetworkSplit()

func (*Protocol) ClearNone

func (x *Protocol) ClearNone()

func (*Protocol) ClearObfsHttp

func (x *Protocol) ClearObfsHttp()

func (*Protocol) ClearProtocol

func (x *Protocol) ClearProtocol()

func (*Protocol) ClearProxy

func (x *Protocol) ClearProxy()

func (*Protocol) ClearQuic

func (x *Protocol) ClearQuic()

func (*Protocol) ClearReality

func (x *Protocol) ClearReality()

func (*Protocol) ClearReject

func (x *Protocol) ClearReject()

func (*Protocol) ClearSet

func (x *Protocol) ClearSet()

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) ClearTls

func (x *Protocol) ClearTls()

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) GetAead

func (x *Protocol) GetAead() *Aead

func (*Protocol) GetBootstrapDnsWarp

func (x *Protocol) GetBootstrapDnsWarp() *BootstrapDnsWarp

func (*Protocol) GetCloudflareWarpMasque

func (x *Protocol) GetCloudflareWarpMasque() *CloudflareWarpMasque

func (*Protocol) GetDirect

func (x *Protocol) GetDirect() *Direct

func (*Protocol) GetDrop

func (x *Protocol) GetDrop() *Drop

func (*Protocol) GetFixed

func (x *Protocol) GetFixed() *Fixed

func (*Protocol) GetFixedv2

func (x *Protocol) GetFixedv2() *Fixedv2

func (*Protocol) GetGrpc

func (x *Protocol) GetGrpc() *Grpc

func (*Protocol) GetHttp

func (x *Protocol) GetHttp() *Http

func (*Protocol) GetHttp2

func (x *Protocol) GetHttp2() *Http2

func (*Protocol) GetHttpMock

func (x *Protocol) GetHttpMock() *HttpMock

func (*Protocol) GetHttpTermination

func (x *Protocol) GetHttpTermination() *HttpTermination

func (*Protocol) GetMux

func (x *Protocol) GetMux() *Mux

func (*Protocol) GetNetworkSplit

func (x *Protocol) GetNetworkSplit() *NetworkSplit

func (*Protocol) GetNone

func (x *Protocol) GetNone() *None

func (*Protocol) GetObfsHttp

func (x *Protocol) GetObfsHttp() *ObfsHttp

func (*Protocol) GetProxy

func (x *Protocol) GetProxy() *Proxy

func (*Protocol) GetQuic

func (x *Protocol) GetQuic() *Quic

func (*Protocol) GetReality

func (x *Protocol) GetReality() *Reality

func (*Protocol) GetReject

func (x *Protocol) GetReject() *Reject

func (*Protocol) GetSet

func (x *Protocol) GetSet() *Set

func (*Protocol) GetShadowsocks

func (x *Protocol) GetShadowsocks() *Shadowsocks

func (*Protocol) GetShadowsocksr

func (x *Protocol) GetShadowsocksr() *Shadowsocksr

func (*Protocol) GetSimple deprecated

func (x *Protocol) GetSimple() *Simple

Deprecated: Marked as deprecated in node/protocol.proto.

func (*Protocol) GetSocks5

func (x *Protocol) GetSocks5() *Socks5

func (*Protocol) GetTailscale

func (x *Protocol) GetTailscale() *Tailscale

func (*Protocol) GetTls

func (x *Protocol) GetTls() *TlsConfig

func (*Protocol) GetTlsTermination

func (x *Protocol) GetTlsTermination() *TlsTermination

func (*Protocol) GetTrojan

func (x *Protocol) GetTrojan() *Trojan

func (*Protocol) GetVless

func (x *Protocol) GetVless() *Vless

func (*Protocol) GetVmess

func (x *Protocol) GetVmess() *Vmess

func (*Protocol) GetWebsocket

func (x *Protocol) GetWebsocket() *Websocket

func (*Protocol) GetWireguard

func (x *Protocol) GetWireguard() *Wireguard

func (*Protocol) GetYuubinsya

func (x *Protocol) GetYuubinsya() *Yuubinsya

func (*Protocol) HasAead

func (x *Protocol) HasAead() bool

func (*Protocol) HasBootstrapDnsWarp

func (x *Protocol) HasBootstrapDnsWarp() bool

func (*Protocol) HasCloudflareWarpMasque

func (x *Protocol) HasCloudflareWarpMasque() bool

func (*Protocol) HasDirect

func (x *Protocol) HasDirect() bool

func (*Protocol) HasDrop

func (x *Protocol) HasDrop() bool

func (*Protocol) HasFixed

func (x *Protocol) HasFixed() bool

func (*Protocol) HasFixedv2

func (x *Protocol) HasFixedv2() bool

func (*Protocol) HasGrpc

func (x *Protocol) HasGrpc() bool

func (*Protocol) HasHttp

func (x *Protocol) HasHttp() bool

func (*Protocol) HasHttp2

func (x *Protocol) HasHttp2() bool

func (*Protocol) HasHttpMock

func (x *Protocol) HasHttpMock() bool

func (*Protocol) HasHttpTermination

func (x *Protocol) HasHttpTermination() bool

func (*Protocol) HasMux

func (x *Protocol) HasMux() bool

func (*Protocol) HasNetworkSplit

func (x *Protocol) HasNetworkSplit() bool

func (*Protocol) HasNone

func (x *Protocol) HasNone() bool

func (*Protocol) HasObfsHttp

func (x *Protocol) HasObfsHttp() bool

func (*Protocol) HasProtocol

func (x *Protocol) HasProtocol() bool

func (*Protocol) HasProxy

func (x *Protocol) HasProxy() bool

func (*Protocol) HasQuic

func (x *Protocol) HasQuic() bool

func (*Protocol) HasReality

func (x *Protocol) HasReality() bool

func (*Protocol) HasReject

func (x *Protocol) HasReject() bool

func (*Protocol) HasSet

func (x *Protocol) HasSet() bool

func (*Protocol) HasShadowsocks

func (x *Protocol) HasShadowsocks() bool

func (*Protocol) HasShadowsocksr

func (x *Protocol) HasShadowsocksr() bool

func (*Protocol) HasSimple deprecated

func (x *Protocol) HasSimple() bool

Deprecated: Marked as deprecated in node/protocol.proto.

func (*Protocol) HasSocks5

func (x *Protocol) HasSocks5() bool

func (*Protocol) HasTailscale

func (x *Protocol) HasTailscale() bool

func (*Protocol) HasTls

func (x *Protocol) HasTls() bool

func (*Protocol) HasTlsTermination

func (x *Protocol) HasTlsTermination() bool

func (*Protocol) HasTrojan

func (x *Protocol) HasTrojan() bool

func (*Protocol) HasVless

func (x *Protocol) HasVless() bool

func (*Protocol) HasVmess

func (x *Protocol) HasVmess() bool

func (*Protocol) HasWebsocket

func (x *Protocol) HasWebsocket() bool

func (*Protocol) HasWireguard

func (x *Protocol) HasWireguard() bool

func (*Protocol) HasYuubinsya

func (x *Protocol) HasYuubinsya() bool

func (*Protocol) ProtoMessage

func (*Protocol) ProtoMessage()

func (*Protocol) ProtoReflect

func (x *Protocol) ProtoReflect() protoreflect.Message

func (*Protocol) Reset

func (x *Protocol) Reset()

func (*Protocol) SetAead

func (x *Protocol) SetAead(v *Aead)

func (*Protocol) SetBootstrapDnsWarp

func (x *Protocol) SetBootstrapDnsWarp(v *BootstrapDnsWarp)

func (*Protocol) SetCloudflareWarpMasque

func (x *Protocol) SetCloudflareWarpMasque(v *CloudflareWarpMasque)

func (*Protocol) SetDirect

func (x *Protocol) SetDirect(v *Direct)

func (*Protocol) SetDrop

func (x *Protocol) SetDrop(v *Drop)

func (*Protocol) SetFixed

func (x *Protocol) SetFixed(v *Fixed)

func (*Protocol) SetFixedv2

func (x *Protocol) SetFixedv2(v *Fixedv2)

func (*Protocol) SetGrpc

func (x *Protocol) SetGrpc(v *Grpc)

func (*Protocol) SetHttp

func (x *Protocol) SetHttp(v *Http)

func (*Protocol) SetHttp2

func (x *Protocol) SetHttp2(v *Http2)

func (*Protocol) SetHttpMock

func (x *Protocol) SetHttpMock(v *HttpMock)

func (*Protocol) SetHttpTermination

func (x *Protocol) SetHttpTermination(v *HttpTermination)

func (*Protocol) SetMux

func (x *Protocol) SetMux(v *Mux)

func (*Protocol) SetNetworkSplit

func (x *Protocol) SetNetworkSplit(v *NetworkSplit)

func (*Protocol) SetNone

func (x *Protocol) SetNone(v *None)

func (*Protocol) SetObfsHttp

func (x *Protocol) SetObfsHttp(v *ObfsHttp)

func (*Protocol) SetProxy

func (x *Protocol) SetProxy(v *Proxy)

func (*Protocol) SetQuic

func (x *Protocol) SetQuic(v *Quic)

func (*Protocol) SetReality

func (x *Protocol) SetReality(v *Reality)

func (*Protocol) SetReject

func (x *Protocol) SetReject(v *Reject)

func (*Protocol) SetSet

func (x *Protocol) SetSet(v *Set)

func (*Protocol) SetShadowsocks

func (x *Protocol) SetShadowsocks(v *Shadowsocks)

func (*Protocol) SetShadowsocksr

func (x *Protocol) SetShadowsocksr(v *Shadowsocksr)

func (*Protocol) SetSimple deprecated

func (x *Protocol) SetSimple(v *Simple)

Deprecated: Marked as deprecated in node/protocol.proto.

func (*Protocol) SetSocks5

func (x *Protocol) SetSocks5(v *Socks5)

func (*Protocol) SetTailscale

func (x *Protocol) SetTailscale(v *Tailscale)

func (*Protocol) SetTls

func (x *Protocol) SetTls(v *TlsConfig)

func (*Protocol) SetTlsTermination

func (x *Protocol) SetTlsTermination(v *TlsTermination)

func (*Protocol) SetTrojan

func (x *Protocol) SetTrojan(v *Trojan)

func (*Protocol) SetVless

func (x *Protocol) SetVless(v *Vless)

func (*Protocol) SetVmess

func (x *Protocol) SetVmess(v *Vmess)

func (*Protocol) SetWebsocket

func (x *Protocol) SetWebsocket(v *Websocket)

func (*Protocol) SetWireguard

func (x *Protocol) SetWireguard(v *Wireguard)

func (*Protocol) SetYuubinsya

func (x *Protocol) SetYuubinsya(v *Yuubinsya)

func (*Protocol) String

func (x *Protocol) String() string

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

func (*Proxy) Reset

func (x *Proxy) Reset()

func (*Proxy) String

func (x *Proxy) String() string

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) ClearName

func (x *Publish) ClearName()

func (*Publish) ClearPassword

func (x *Publish) ClearPassword()

func (*Publish) ClearPath

func (x *Publish) ClearPath()

func (*Publish) GetName

func (x *Publish) GetName() string

func (*Publish) GetPassword

func (x *Publish) GetPassword() string

func (*Publish) GetPath

func (x *Publish) GetPath() string

func (*Publish) GetPoints

func (x *Publish) GetPoints() []string

func (*Publish) HasName

func (x *Publish) HasName() bool

func (*Publish) HasPassword

func (x *Publish) HasPassword() bool

func (*Publish) HasPath

func (x *Publish) HasPath() bool

func (*Publish) ProtoMessage

func (*Publish) ProtoMessage()

func (*Publish) ProtoReflect

func (x *Publish) ProtoReflect() protoreflect.Message

func (*Publish) Reset

func (x *Publish) Reset()

func (*Publish) SetName

func (x *Publish) SetName(v string)

func (*Publish) SetPassword

func (x *Publish) SetPassword(v string)

func (*Publish) SetPath

func (x *Publish) SetPath(v string)

func (*Publish) SetPoints

func (x *Publish) SetPoints(v []string)

func (*Publish) String

func (x *Publish) String() string

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) ClearHost

func (x *Quic) ClearHost()

func (*Quic) ClearTls

func (x *Quic) ClearTls()

func (*Quic) GetHost

func (x *Quic) GetHost() string

func (*Quic) GetTls

func (x *Quic) GetTls() *TlsConfig

func (*Quic) HasHost

func (x *Quic) HasHost() bool

func (*Quic) HasTls

func (x *Quic) HasTls() bool

func (*Quic) ProtoMessage

func (*Quic) ProtoMessage()

func (*Quic) ProtoReflect

func (x *Quic) ProtoReflect() protoreflect.Message

func (*Quic) Reset

func (x *Quic) Reset()

func (*Quic) SetHost

func (x *Quic) SetHost(v string)

func (*Quic) SetTls

func (x *Quic) SetTls(v *TlsConfig)

func (*Quic) String

func (x *Quic) String() string

type Quic_builder

type Quic_builder struct {
	Host *string
	Tls  *TlsConfig
	// contains filtered or unexported fields
}

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) GetDebug

func (x *Reality) GetDebug() bool

func (*Reality) GetMldsa65Verify

func (x *Reality) GetMldsa65Verify() string

func (*Reality) GetPublicKey

func (x *Reality) GetPublicKey() string

func (*Reality) GetServerName

func (x *Reality) GetServerName() string

func (*Reality) GetShortId

func (x *Reality) GetShortId() string

func (*Reality) HasDebug

func (x *Reality) HasDebug() bool

func (*Reality) HasMldsa65Verify

func (x *Reality) HasMldsa65Verify() bool

func (*Reality) HasPublicKey

func (x *Reality) HasPublicKey() bool

func (*Reality) HasServerName

func (x *Reality) HasServerName() bool

func (*Reality) HasShortId

func (x *Reality) HasShortId() bool

func (*Reality) ProtoMessage

func (*Reality) ProtoMessage()

func (*Reality) ProtoReflect

func (x *Reality) ProtoReflect() protoreflect.Message

func (*Reality) Reset

func (x *Reality) Reset()

func (*Reality) SetDebug

func (x *Reality) SetDebug(v bool)

func (*Reality) SetMldsa65Verify

func (x *Reality) SetMldsa65Verify(v string)

func (*Reality) SetPublicKey

func (x *Reality) SetPublicKey(v string)

func (*Reality) SetServerName

func (x *Reality) SetServerName(v string)

func (*Reality) SetShortId

func (x *Reality) SetShortId(v string)

func (*Reality) String

func (x *Reality) String() string

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

func (*Reject) Reset

func (x *Reject) Reset()

func (*Reject) String

func (x *Reject) String() string

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) ClearIp

func (x *Reply) ClearIp()

func (*Reply) ClearLatency

func (x *Reply) ClearLatency()

func (*Reply) ClearReply

func (x *Reply) ClearReply()

func (*Reply) ClearStun

func (x *Reply) ClearStun()

func (*Reply) GetError

func (x *Reply) GetError() *Error

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) HasError

func (x *Reply) HasError() bool

func (*Reply) HasIp

func (x *Reply) HasIp() bool

func (*Reply) HasLatency

func (x *Reply) HasLatency() bool

func (*Reply) HasReply

func (x *Reply) HasReply() bool

func (*Reply) HasStun

func (x *Reply) HasStun() bool

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) ProtoReflect

func (x *Reply) ProtoReflect() protoreflect.Message

func (*Reply) Reset

func (x *Reply) Reset()

func (*Reply) SetError

func (x *Reply) SetError(v *Error)

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) String

func (x *Reply) String() string

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) ClearHash

func (x *Request) ClearHash()

func (*Request) ClearId

func (x *Request) ClearId()

func (*Request) ClearIpv6

func (x *Request) ClearIpv6()

func (*Request) ClearMethod

func (x *Request) ClearMethod()

func (*Request) GetHash

func (x *Request) GetHash() string

func (*Request) GetId

func (x *Request) GetId() string

func (*Request) GetIpv6

func (x *Request) GetIpv6() bool

func (*Request) GetMethod

func (x *Request) GetMethod() *RequestProtocol

func (*Request) HasHash

func (x *Request) HasHash() bool

func (*Request) HasId

func (x *Request) HasId() bool

func (*Request) HasIpv6

func (x *Request) HasIpv6() bool

func (*Request) HasMethod

func (x *Request) HasMethod() bool

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) SetHash

func (x *Request) SetHash(v string)

func (*Request) SetId

func (x *Request) SetId(v string)

func (*Request) SetIpv6

func (x *Request) SetIpv6(v bool)

func (*Request) SetMethod

func (x *Request) SetMethod(v *RequestProtocol)

func (*Request) String

func (x *Request) String() string

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

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 (x *Requests) GetRequests() []*Request

func (*Requests) ProtoMessage

func (*Requests) ProtoMessage()

func (*Requests) ProtoReflect

func (x *Requests) ProtoReflect() protoreflect.Message

func (*Requests) Reset

func (x *Requests) Reset()

func (*Requests) SetRequests

func (x *Requests) SetRequests(v []*Request)

func (*Requests) String

func (x *Requests) String() string

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 (x *Response) GetIdLatencyMap() map[string]*Reply

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) SetIdLatencyMap

func (x *Response) SetIdLatencyMap(v map[string]*Reply)

func (*Response) String

func (x *Response) String() string

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) GetNodes

func (x *Set) GetNodes() []string

func (*Set) GetStrategy

func (x *Set) GetStrategy() SetStrategyType

func (*Set) HasStrategy

func (x *Set) HasStrategy() bool

func (*Set) ProtoMessage

func (*Set) ProtoMessage()

func (*Set) ProtoReflect

func (x *Set) ProtoReflect() protoreflect.Message

func (*Set) Reset

func (x *Set) Reset()

func (*Set) SetNodes

func (x *Set) SetNodes(v []string)

func (*Set) SetStrategy

func (x *Set) SetStrategy(v SetStrategyType)

func (*Set) String

func (x *Set) String() string

type SetStrategyType

type SetStrategyType int32
const (
	Set_random      SetStrategyType = 0
	Set_round_robin SetStrategyType = 1
)

func (SetStrategyType) Descriptor

func (SetStrategyType) Enum

func (x SetStrategyType) Enum() *SetStrategyType

func (SetStrategyType) Number

func (SetStrategyType) String

func (x SetStrategyType) String() string

func (SetStrategyType) Type

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) ClearHost

func (x *Simple) ClearHost()

func (*Simple) ClearNetworkInterface

func (x *Simple) ClearNetworkInterface()

func (*Simple) ClearPort

func (x *Simple) ClearPort()

func (*Simple) GetAlternateHost

func (x *Simple) GetAlternateHost() []*Host

func (*Simple) GetHost

func (x *Simple) GetHost() string

func (*Simple) GetNetworkInterface

func (x *Simple) GetNetworkInterface() string

func (*Simple) GetPort

func (x *Simple) GetPort() int32

func (*Simple) HasHost

func (x *Simple) HasHost() bool

func (*Simple) HasNetworkInterface

func (x *Simple) HasNetworkInterface() bool

func (*Simple) HasPort

func (x *Simple) HasPort() bool

func (*Simple) ProtoMessage

func (*Simple) ProtoMessage()

func (*Simple) ProtoReflect

func (x *Simple) ProtoReflect() protoreflect.Message

func (*Simple) Reset

func (x *Simple) Reset()

func (*Simple) SetAlternateHost

func (x *Simple) SetAlternateHost(v []*Host)

func (*Simple) SetHost

func (x *Simple) SetHost(v string)

func (*Simple) SetNetworkInterface

func (x *Simple) SetNetworkInterface(v string)

func (*Simple) SetPort

func (x *Simple) SetPort(v int32)

func (*Simple) String

func (x *Simple) String() string

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) ClearUser

func (x *Socks5) ClearUser()

func (*Socks5) GetHostname

func (x *Socks5) GetHostname() string

func (*Socks5) GetOverridePort

func (x *Socks5) GetOverridePort() uint32

func (*Socks5) GetPassword

func (x *Socks5) GetPassword() string

func (*Socks5) GetUser

func (x *Socks5) GetUser() string

func (*Socks5) HasHostname

func (x *Socks5) HasHostname() bool

func (*Socks5) HasOverridePort

func (x *Socks5) HasOverridePort() bool

func (*Socks5) HasPassword

func (x *Socks5) HasPassword() bool

func (*Socks5) HasUser

func (x *Socks5) HasUser() bool

func (*Socks5) ProtoMessage

func (*Socks5) ProtoMessage()

func (*Socks5) ProtoReflect

func (x *Socks5) ProtoReflect() protoreflect.Message

func (*Socks5) Reset

func (x *Socks5) Reset()

func (*Socks5) SetHostname

func (x *Socks5) SetHostname(v string)

func (*Socks5) SetOverridePort

func (x *Socks5) SetOverridePort(v uint32)

func (*Socks5) SetPassword

func (x *Socks5) SetPassword(v string)

func (*Socks5) SetUser

func (x *Socks5) SetUser(v string)

func (*Socks5) String

func (x *Socks5) String() string

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) ClearHost

func (x *Stun) ClearHost()

func (*Stun) ClearTcp

func (x *Stun) ClearTcp()

func (*Stun) GetHost

func (x *Stun) GetHost() string

func (*Stun) GetTcp

func (x *Stun) GetTcp() bool

func (*Stun) HasHost

func (x *Stun) HasHost() bool

func (*Stun) HasTcp

func (x *Stun) HasTcp() bool

func (*Stun) ProtoMessage

func (*Stun) ProtoMessage()

func (*Stun) ProtoReflect

func (x *Stun) ProtoReflect() protoreflect.Message

func (*Stun) Reset

func (x *Stun) Reset()

func (*Stun) SetHost

func (x *Stun) SetHost(v string)

func (*Stun) SetTcp

func (x *Stun) SetTcp(v bool)

func (*Stun) String

func (x *Stun) String() string

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

type Stun_builder struct {
	Host *string
	Tcp  *bool
	// contains filtered or unexported fields
}

func (Stun_builder) Build

func (b0 Stun_builder) Build() *Stun

type TagType

type TagType int32
const (
	TagType_node   TagType = 0
	TagType_mirror TagType = 1
)

func (TagType) Descriptor

func (TagType) Descriptor() protoreflect.EnumDescriptor

func (TagType) Enum

func (x TagType) Enum() *TagType

func (TagType) Number

func (x TagType) Number() protoreflect.EnumNumber

func (TagType) String

func (x TagType) String() string

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) ClearTag

func (x *Tags) ClearTag()

func (*Tags) ClearType

func (x *Tags) ClearType()

func (*Tags) GetHash

func (x *Tags) GetHash() []string

func (*Tags) GetTag

func (x *Tags) GetTag() string

func (*Tags) GetType

func (x *Tags) GetType() TagType

func (*Tags) HasTag

func (x *Tags) HasTag() bool

func (*Tags) HasType

func (x *Tags) HasType() bool

func (*Tags) ProtoMessage

func (*Tags) ProtoMessage()

func (*Tags) ProtoReflect

func (x *Tags) ProtoReflect() protoreflect.Message

func (*Tags) Reset

func (x *Tags) Reset()

func (*Tags) SetHash

func (x *Tags) SetHash(v []string)

func (*Tags) SetTag

func (x *Tags) SetTag(v string)

func (*Tags) SetType

func (x *Tags) SetType(v TagType)

func (*Tags) String

func (x *Tags) String() string

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 (x *Tailscale) GetAuthKey() string

func (*Tailscale) GetControlUrl

func (x *Tailscale) GetControlUrl() string

func (*Tailscale) GetDebug

func (x *Tailscale) GetDebug() bool

func (*Tailscale) GetHostname

func (x *Tailscale) GetHostname() string

func (*Tailscale) HasAuthKey

func (x *Tailscale) HasAuthKey() bool

func (*Tailscale) HasControlUrl

func (x *Tailscale) HasControlUrl() bool

func (*Tailscale) HasDebug

func (x *Tailscale) HasDebug() bool

func (*Tailscale) HasHostname

func (x *Tailscale) HasHostname() bool

func (*Tailscale) ProtoMessage

func (*Tailscale) ProtoMessage()

func (*Tailscale) ProtoReflect

func (x *Tailscale) ProtoReflect() protoreflect.Message

func (*Tailscale) Reset

func (x *Tailscale) Reset()

func (*Tailscale) SetAuthKey

func (x *Tailscale) SetAuthKey(v string)

func (*Tailscale) SetControlUrl

func (x *Tailscale) SetControlUrl(v string)

func (*Tailscale) SetDebug

func (x *Tailscale) SetDebug(v bool)

func (*Tailscale) SetHostname

func (x *Tailscale) SetHostname(v string)

func (*Tailscale) String

func (x *Tailscale) String() string

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) GetCaCert

func (x *TlsConfig) GetCaCert() [][]byte

func (*TlsConfig) GetEchConfig

func (x *TlsConfig) GetEchConfig() []byte

func (*TlsConfig) GetEnable

func (x *TlsConfig) GetEnable() bool

func (*TlsConfig) GetInsecureSkipVerify

func (x *TlsConfig) GetInsecureSkipVerify() bool

func (*TlsConfig) GetNextProtos

func (x *TlsConfig) GetNextProtos() []string

func (*TlsConfig) GetServerNames

func (x *TlsConfig) GetServerNames() []string

func (*TlsConfig) HasEchConfig

func (x *TlsConfig) HasEchConfig() bool

func (*TlsConfig) HasEnable

func (x *TlsConfig) HasEnable() bool

func (*TlsConfig) HasInsecureSkipVerify

func (x *TlsConfig) HasInsecureSkipVerify() bool

func (*TlsConfig) ProtoMessage

func (*TlsConfig) ProtoMessage()

func (*TlsConfig) ProtoReflect

func (x *TlsConfig) ProtoReflect() protoreflect.Message

func (*TlsConfig) Reset

func (x *TlsConfig) Reset()

func (*TlsConfig) SetCaCert

func (x *TlsConfig) SetCaCert(v [][]byte)

func (*TlsConfig) SetEchConfig

func (x *TlsConfig) SetEchConfig(v []byte)

func (*TlsConfig) SetEnable

func (x *TlsConfig) SetEnable(v bool)

func (*TlsConfig) SetInsecureSkipVerify

func (x *TlsConfig) SetInsecureSkipVerify(v bool)

func (*TlsConfig) SetNextProtos

func (x *TlsConfig) SetNextProtos(v []string)

func (*TlsConfig) SetServerNames

func (x *TlsConfig) SetServerNames(v []string)

func (*TlsConfig) String

func (x *TlsConfig) String() string

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

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

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) ClearPeer

func (x *Trojan) ClearPeer()

func (*Trojan) GetPassword

func (x *Trojan) GetPassword() string

func (*Trojan) GetPeer

func (x *Trojan) GetPeer() string

func (*Trojan) HasPassword

func (x *Trojan) HasPassword() bool

func (*Trojan) HasPeer

func (x *Trojan) HasPeer() bool

func (*Trojan) ProtoMessage

func (*Trojan) ProtoMessage()

func (*Trojan) ProtoReflect

func (x *Trojan) ProtoReflect() protoreflect.Message

func (*Trojan) Reset

func (x *Trojan) Reset()

func (*Trojan) SetPassword

func (x *Trojan) SetPassword(v string)

func (*Trojan) SetPeer

func (x *Trojan) SetPeer(v string)

func (*Trojan) String

func (x *Trojan) String() string

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
const (
	Type_reserve      Type = 0
	Type_trojan       Type = 1
	Type_vmess        Type = 2
	Type_shadowsocks  Type = 3
	Type_shadowsocksr Type = 4
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

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) ClearUuid

func (x *Vless) ClearUuid()

func (*Vless) GetUuid

func (x *Vless) GetUuid() string

func (*Vless) HasUuid

func (x *Vless) HasUuid() bool

func (*Vless) ProtoMessage

func (*Vless) ProtoMessage()

func (*Vless) ProtoReflect

func (x *Vless) ProtoReflect() protoreflect.Message

func (*Vless) Reset

func (x *Vless) Reset()

func (*Vless) SetUuid

func (x *Vless) SetUuid(v string)

func (*Vless) String

func (x *Vless) String() string

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) ClearUuid

func (x *Vmess) ClearUuid()

func (*Vmess) GetAlterId

func (x *Vmess) GetAlterId() string

func (*Vmess) GetSecurity

func (x *Vmess) GetSecurity() string

func (*Vmess) GetUuid

func (x *Vmess) GetUuid() string

func (*Vmess) HasAlterId

func (x *Vmess) HasAlterId() bool

func (*Vmess) HasSecurity

func (x *Vmess) HasSecurity() bool

func (*Vmess) HasUuid

func (x *Vmess) HasUuid() bool

func (*Vmess) ProtoMessage

func (*Vmess) ProtoMessage()

func (*Vmess) ProtoReflect

func (x *Vmess) ProtoReflect() protoreflect.Message

func (*Vmess) Reset

func (x *Vmess) Reset()

func (*Vmess) SetAlterId

func (x *Vmess) SetAlterId(v string)

func (*Vmess) SetSecurity

func (x *Vmess) SetSecurity(v string)

func (*Vmess) SetUuid

func (x *Vmess) SetUuid(v string)

func (*Vmess) String

func (x *Vmess) String() string

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) ClearHost

func (x *Websocket) ClearHost()

func (*Websocket) ClearPath

func (x *Websocket) ClearPath()

func (*Websocket) GetHost

func (x *Websocket) GetHost() string

func (*Websocket) GetPath

func (x *Websocket) GetPath() string

func (*Websocket) HasHost

func (x *Websocket) HasHost() bool

func (*Websocket) HasPath

func (x *Websocket) HasPath() bool

func (*Websocket) ProtoMessage

func (*Websocket) ProtoMessage()

func (*Websocket) ProtoReflect

func (x *Websocket) ProtoReflect() protoreflect.Message

func (*Websocket) Reset

func (x *Websocket) Reset()

func (*Websocket) SetHost

func (x *Websocket) SetHost(v string)

func (*Websocket) SetPath

func (x *Websocket) SetPath(v string)

func (*Websocket) String

func (x *Websocket) String() string

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) ClearMtu

func (x *Wireguard) ClearMtu()

func (*Wireguard) ClearReserved

func (x *Wireguard) ClearReserved()

func (*Wireguard) ClearSecretKey

func (x *Wireguard) ClearSecretKey()

func (*Wireguard) GetEndpoint

func (x *Wireguard) GetEndpoint() []string

func (*Wireguard) GetMtu

func (x *Wireguard) GetMtu() int32

func (*Wireguard) GetPeers

func (x *Wireguard) GetPeers() []*WireguardPeerConfig

func (*Wireguard) GetReserved

func (x *Wireguard) GetReserved() []byte

func (*Wireguard) GetSecretKey

func (x *Wireguard) GetSecretKey() string

func (*Wireguard) HasMtu

func (x *Wireguard) HasMtu() bool

func (*Wireguard) HasReserved

func (x *Wireguard) HasReserved() bool

func (*Wireguard) HasSecretKey

func (x *Wireguard) HasSecretKey() bool

func (*Wireguard) ProtoMessage

func (*Wireguard) ProtoMessage()

func (*Wireguard) ProtoReflect

func (x *Wireguard) ProtoReflect() protoreflect.Message

func (*Wireguard) Reset

func (x *Wireguard) Reset()

func (*Wireguard) SetEndpoint

func (x *Wireguard) SetEndpoint(v []string)

func (*Wireguard) SetMtu

func (x *Wireguard) SetMtu(v int32)

func (*Wireguard) SetPeers

func (x *Wireguard) SetPeers(v []*WireguardPeerConfig)

func (*Wireguard) SetReserved

func (x *Wireguard) SetReserved(v []byte)

func (*Wireguard) SetSecretKey

func (x *Wireguard) SetSecretKey(v string)

func (*Wireguard) String

func (x *Wireguard) String() string

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
	PreSharedKey *string
	Endpoint     *string
	KeepAlive    *int32
	AllowedIps   []string
	// contains filtered or unexported fields
}

func (WireguardPeerConfig_builder) Build

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

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

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 (x *Yuubinsya) GetPassword() string

func (*Yuubinsya) GetUdpCoalesce

func (x *Yuubinsya) GetUdpCoalesce() bool

func (*Yuubinsya) GetUdpOverStream

func (x *Yuubinsya) GetUdpOverStream() bool

func (*Yuubinsya) HasPassword

func (x *Yuubinsya) HasPassword() bool

func (*Yuubinsya) HasUdpCoalesce

func (x *Yuubinsya) HasUdpCoalesce() bool

func (*Yuubinsya) HasUdpOverStream

func (x *Yuubinsya) HasUdpOverStream() bool

func (*Yuubinsya) ProtoMessage

func (*Yuubinsya) ProtoMessage()

func (*Yuubinsya) ProtoReflect

func (x *Yuubinsya) ProtoReflect() protoreflect.Message

func (*Yuubinsya) Reset

func (x *Yuubinsya) Reset()

func (*Yuubinsya) SetPassword

func (x *Yuubinsya) SetPassword(v string)

func (*Yuubinsya) SetUdpCoalesce

func (x *Yuubinsya) SetUdpCoalesce(v bool)

func (*Yuubinsya) SetUdpOverStream

func (x *Yuubinsya) SetUdpOverStream(v bool)

func (*Yuubinsya) String

func (x *Yuubinsya) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL