protocol

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2025 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const Protocol_BootstrapDnsWarp_case case_Protocol_Protocol = 23
View Source
const Protocol_Direct_case case_Protocol_Protocol = 12
View Source
const Protocol_Drop_case case_Protocol_Protocol = 21
View Source
const Protocol_Grpc_case case_Protocol_Protocol = 15
View Source
const Protocol_Http2_case case_Protocol_Protocol = 16
View Source
const Protocol_Http_case case_Protocol_Protocol = 11
View Source
const Protocol_Mux_case case_Protocol_Protocol = 20
View Source
const Protocol_None_case case_Protocol_Protocol = 9
View Source
const Protocol_ObfsHttp_case case_Protocol_Protocol = 6
View Source
const Protocol_Protocol_not_set_case case_Protocol_Protocol = 0
View Source
const Protocol_Quic_case case_Protocol_Protocol = 5
View Source
const Protocol_Reality_case case_Protocol_Protocol = 17
View Source
const Protocol_Reject_case case_Protocol_Protocol = 13
View Source
const Protocol_Shadowsocks_case case_Protocol_Protocol = 1
View Source
const Protocol_Shadowsocksr_case case_Protocol_Protocol = 2
View Source
const Protocol_Simple_case case_Protocol_Protocol = 8
View Source
const Protocol_Socks5_case case_Protocol_Protocol = 10
View Source
const Protocol_Tls_case case_Protocol_Protocol = 18
View Source
const Protocol_Trojan_case case_Protocol_Protocol = 7
View Source
const Protocol_Vless_case case_Protocol_Protocol = 22
View Source
const Protocol_Vmess_case case_Protocol_Protocol = 3
View Source
const Protocol_Websocket_case case_Protocol_Protocol = 4
View Source
const Protocol_Wireguard_case case_Protocol_Protocol = 19
View Source
const Protocol_Yuubinsya_case case_Protocol_Protocol = 14

Variables

View Source
var File_node_protocol_protocol_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BootstrapDnsWarp added in v0.3.8

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

func (*BootstrapDnsWarp) ProtoMessage added in v0.3.8

func (*BootstrapDnsWarp) ProtoMessage()

func (*BootstrapDnsWarp) ProtoReflect added in v0.3.8

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

func (*BootstrapDnsWarp) Reset added in v0.3.8

func (x *BootstrapDnsWarp) Reset()

func (*BootstrapDnsWarp) String added in v0.3.8

func (x *BootstrapDnsWarp) String() string

type BootstrapDnsWarp_builder added in v0.3.8

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

func (BootstrapDnsWarp_builder) Build added in v0.3.8

type Direct

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

func (*Direct) ClearNetworkInterface added in v0.3.8

func (x *Direct) ClearNetworkInterface()

func (*Direct) GetNetworkInterface added in v0.3.8

func (x *Direct) GetNetworkInterface() string

func (*Direct) HasNetworkInterface added in v0.3.8

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

func (x *Direct) SetNetworkInterface(v string)

func (*Direct) String

func (x *Direct) String() string

type Direct_builder added in v0.3.8

type Direct_builder struct {
	NetworkInterface *string
	// contains filtered or unexported fields
}

func (Direct_builder) Build added in v0.3.8

func (b0 Direct_builder) Build() *Direct

type Drop

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

func (*Drop) ProtoMessage

func (*Drop) ProtoMessage()

func (*Drop) ProtoReflect

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

func (*Drop) Reset

func (x *Drop) Reset()

func (*Drop) String

func (x *Drop) String() string

type Drop_builder added in v0.3.8

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

func (Drop_builder) Build added in v0.3.8

func (b0 Drop_builder) Build() *Drop

type Grpc

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

func (*Grpc) ClearTls added in v0.3.8

func (x *Grpc) ClearTls()

func (*Grpc) GetTls

func (x *Grpc) GetTls() *TlsConfig

func (*Grpc) HasTls added in v0.3.8

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

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

func (*Grpc) String

func (x *Grpc) String() string

type Grpc_builder added in v0.3.8

type Grpc_builder struct {
	Tls *TlsConfig
	// contains filtered or unexported fields
}

func (Grpc_builder) Build added in v0.3.8

func (b0 Grpc_builder) Build() *Grpc

type Host

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

func (*Host) ClearHost added in v0.3.8

func (x *Host) ClearHost()

func (*Host) ClearPort added in v0.3.8

func (x *Host) ClearPort()

func (*Host) GetHost

func (x *Host) GetHost() string

func (*Host) GetPort

func (x *Host) GetPort() int32

func (*Host) HasHost added in v0.3.8

func (x *Host) HasHost() bool

func (*Host) HasPort added in v0.3.8

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

func (x *Host) SetHost(v string)

func (*Host) SetPort added in v0.3.8

func (x *Host) SetPort(v int32)

func (*Host) String

func (x *Host) String() string

type Host_builder added in v0.3.8

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

func (Host_builder) Build added in v0.3.8

func (b0 Host_builder) Build() *Host

type Http

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

func (*Http) ClearPassword added in v0.3.8

func (x *Http) ClearPassword()

func (*Http) ClearUser added in v0.3.8

func (x *Http) ClearUser()

func (*Http) GetPassword

func (x *Http) GetPassword() string

func (*Http) GetUser

func (x *Http) GetUser() string

func (*Http) HasPassword added in v0.3.8

func (x *Http) HasPassword() bool

func (*Http) HasUser added in v0.3.8

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

func (x *Http) SetPassword(v string)

func (*Http) SetUser added in v0.3.8

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

func (x *Http2) ClearConcurrency()

func (*Http2) GetConcurrency

func (x *Http2) GetConcurrency() int32

func (*Http2) HasConcurrency added in v0.3.8

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

func (x *Http2) SetConcurrency(v int32)

func (*Http2) String

func (x *Http2) String() string

type Http2_builder added in v0.3.8

type Http2_builder struct {
	Concurrency *int32
	// contains filtered or unexported fields
}

func (Http2_builder) Build added in v0.3.8

func (b0 Http2_builder) Build() *Http2

type Http_builder added in v0.3.8

type Http_builder struct {
	User     *string
	Password *string
	// contains filtered or unexported fields
}

func (Http_builder) Build added in v0.3.8

func (b0 Http_builder) Build() *Http

type Mux

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

func (*Mux) ClearConcurrency added in v0.3.8

func (x *Mux) ClearConcurrency()

func (*Mux) GetConcurrency

func (x *Mux) GetConcurrency() int32

func (*Mux) HasConcurrency added in v0.3.8

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

func (x *Mux) SetConcurrency(v int32)

func (*Mux) String

func (x *Mux) String() string

type Mux_builder added in v0.3.8

type Mux_builder struct {
	Concurrency *int32
	// contains filtered or unexported fields
}

func (Mux_builder) Build added in v0.3.8

func (b0 Mux_builder) Build() *Mux

type None

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

func (*None) ProtoMessage

func (*None) ProtoMessage()

func (*None) ProtoReflect

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

func (*None) Reset

func (x *None) Reset()

func (*None) String

func (x *None) String() string

type None_builder added in v0.3.8

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

func (None_builder) Build added in v0.3.8

func (b0 None_builder) Build() *None

type ObfsHttp

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

func (*ObfsHttp) ClearHost added in v0.3.8

func (x *ObfsHttp) ClearHost()

func (*ObfsHttp) ClearPort added in v0.3.8

func (x *ObfsHttp) ClearPort()

func (*ObfsHttp) GetHost

func (x *ObfsHttp) GetHost() string

func (*ObfsHttp) GetPort

func (x *ObfsHttp) GetPort() string

func (*ObfsHttp) HasHost added in v0.3.8

func (x *ObfsHttp) HasHost() bool

func (*ObfsHttp) HasPort added in v0.3.8

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

func (x *ObfsHttp) SetHost(v string)

func (*ObfsHttp) SetPort added in v0.3.8

func (x *ObfsHttp) SetPort(v string)

func (*ObfsHttp) String

func (x *ObfsHttp) String() string

type ObfsHttp_builder added in v0.3.8

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

func (ObfsHttp_builder) Build added in v0.3.8

func (b0 ObfsHttp_builder) Build() *ObfsHttp

type Protocol

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

func (*Protocol) ClearBootstrapDnsWarp added in v0.3.8

func (x *Protocol) ClearBootstrapDnsWarp()

func (*Protocol) ClearDirect added in v0.3.8

func (x *Protocol) ClearDirect()

func (*Protocol) ClearDrop added in v0.3.8

func (x *Protocol) ClearDrop()

func (*Protocol) ClearGrpc added in v0.3.8

func (x *Protocol) ClearGrpc()

func (*Protocol) ClearHttp added in v0.3.8

func (x *Protocol) ClearHttp()

func (*Protocol) ClearHttp2 added in v0.3.8

func (x *Protocol) ClearHttp2()

func (*Protocol) ClearMux added in v0.3.8

func (x *Protocol) ClearMux()

func (*Protocol) ClearNone added in v0.3.8

func (x *Protocol) ClearNone()

func (*Protocol) ClearObfsHttp added in v0.3.8

func (x *Protocol) ClearObfsHttp()

func (*Protocol) ClearProtocol added in v0.3.8

func (x *Protocol) ClearProtocol()

func (*Protocol) ClearQuic added in v0.3.8

func (x *Protocol) ClearQuic()

func (*Protocol) ClearReality added in v0.3.8

func (x *Protocol) ClearReality()

func (*Protocol) ClearReject added in v0.3.8

func (x *Protocol) ClearReject()

func (*Protocol) ClearShadowsocks added in v0.3.8

func (x *Protocol) ClearShadowsocks()

func (*Protocol) ClearShadowsocksr added in v0.3.8

func (x *Protocol) ClearShadowsocksr()

func (*Protocol) ClearSimple added in v0.3.8

func (x *Protocol) ClearSimple()

func (*Protocol) ClearSocks5 added in v0.3.8

func (x *Protocol) ClearSocks5()

func (*Protocol) ClearTls added in v0.3.8

func (x *Protocol) ClearTls()

func (*Protocol) ClearTrojan added in v0.3.8

func (x *Protocol) ClearTrojan()

func (*Protocol) ClearVless added in v0.3.8

func (x *Protocol) ClearVless()

func (*Protocol) ClearVmess added in v0.3.8

func (x *Protocol) ClearVmess()

func (*Protocol) ClearWebsocket added in v0.3.8

func (x *Protocol) ClearWebsocket()

func (*Protocol) ClearWireguard added in v0.3.8

func (x *Protocol) ClearWireguard()

func (*Protocol) ClearYuubinsya added in v0.3.8

func (x *Protocol) ClearYuubinsya()

func (*Protocol) GetBootstrapDnsWarp added in v0.3.8

func (x *Protocol) GetBootstrapDnsWarp() *BootstrapDnsWarp

func (*Protocol) GetDirect

func (x *Protocol) GetDirect() *Direct

func (*Protocol) GetDrop

func (x *Protocol) GetDrop() *Drop

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

func (x *Protocol) GetMux() *Mux

func (*Protocol) GetNone

func (x *Protocol) GetNone() *None

func (*Protocol) GetObfsHttp

func (x *Protocol) GetObfsHttp() *ObfsHttp

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

func (x *Protocol) GetShadowsocks() *Shadowsocks

func (*Protocol) GetShadowsocksr

func (x *Protocol) GetShadowsocksr() *Shadowsocksr

func (*Protocol) GetSimple

func (x *Protocol) GetSimple() *Simple

func (*Protocol) GetSocks5

func (x *Protocol) GetSocks5() *Socks5

func (*Protocol) GetTls

func (x *Protocol) GetTls() *TlsConfig

func (*Protocol) GetTrojan

func (x *Protocol) GetTrojan() *Trojan

func (*Protocol) GetVless added in v0.3.4

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

func (x *Protocol) HasBootstrapDnsWarp() bool

func (*Protocol) HasDirect added in v0.3.8

func (x *Protocol) HasDirect() bool

func (*Protocol) HasDrop added in v0.3.8

func (x *Protocol) HasDrop() bool

func (*Protocol) HasGrpc added in v0.3.8

func (x *Protocol) HasGrpc() bool

func (*Protocol) HasHttp added in v0.3.8

func (x *Protocol) HasHttp() bool

func (*Protocol) HasHttp2 added in v0.3.8

func (x *Protocol) HasHttp2() bool

func (*Protocol) HasMux added in v0.3.8

func (x *Protocol) HasMux() bool

func (*Protocol) HasNone added in v0.3.8

func (x *Protocol) HasNone() bool

func (*Protocol) HasObfsHttp added in v0.3.8

func (x *Protocol) HasObfsHttp() bool

func (*Protocol) HasProtocol added in v0.3.8

func (x *Protocol) HasProtocol() bool

func (*Protocol) HasQuic added in v0.3.8

func (x *Protocol) HasQuic() bool

func (*Protocol) HasReality added in v0.3.8

func (x *Protocol) HasReality() bool

func (*Protocol) HasReject added in v0.3.8

func (x *Protocol) HasReject() bool

func (*Protocol) HasShadowsocks added in v0.3.8

func (x *Protocol) HasShadowsocks() bool

func (*Protocol) HasShadowsocksr added in v0.3.8

func (x *Protocol) HasShadowsocksr() bool

func (*Protocol) HasSimple added in v0.3.8

func (x *Protocol) HasSimple() bool

func (*Protocol) HasSocks5 added in v0.3.8

func (x *Protocol) HasSocks5() bool

func (*Protocol) HasTls added in v0.3.8

func (x *Protocol) HasTls() bool

func (*Protocol) HasTrojan added in v0.3.8

func (x *Protocol) HasTrojan() bool

func (*Protocol) HasVless added in v0.3.8

func (x *Protocol) HasVless() bool

func (*Protocol) HasVmess added in v0.3.8

func (x *Protocol) HasVmess() bool

func (*Protocol) HasWebsocket added in v0.3.8

func (x *Protocol) HasWebsocket() bool

func (*Protocol) HasWireguard added in v0.3.8

func (x *Protocol) HasWireguard() bool

func (*Protocol) HasYuubinsya added in v0.3.8

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

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

func (*Protocol) SetDirect added in v0.3.8

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

func (*Protocol) SetDrop added in v0.3.8

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

func (*Protocol) SetGrpc added in v0.3.8

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

func (*Protocol) SetHttp added in v0.3.8

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

func (*Protocol) SetHttp2 added in v0.3.8

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

func (*Protocol) SetMux added in v0.3.8

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

func (*Protocol) SetNone added in v0.3.8

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

func (*Protocol) SetObfsHttp added in v0.3.8

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

func (*Protocol) SetQuic added in v0.3.8

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

func (*Protocol) SetReality added in v0.3.8

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

func (*Protocol) SetReject added in v0.3.8

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

func (*Protocol) SetShadowsocks added in v0.3.8

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

func (*Protocol) SetShadowsocksr added in v0.3.8

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

func (*Protocol) SetSimple added in v0.3.8

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

func (*Protocol) SetSocks5 added in v0.3.8

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

func (*Protocol) SetTls added in v0.3.8

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

func (*Protocol) SetTrojan added in v0.3.8

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

func (*Protocol) SetVless added in v0.3.8

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

func (*Protocol) SetVmess added in v0.3.8

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

func (*Protocol) SetWebsocket added in v0.3.8

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

func (*Protocol) SetWireguard added in v0.3.8

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

func (*Protocol) SetYuubinsya added in v0.3.8

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

func (*Protocol) String

func (x *Protocol) String() string

func (*Protocol) WhichProtocol added in v0.3.8

func (x *Protocol) WhichProtocol() case_Protocol_Protocol

type Protocol_builder added in v0.3.8

type Protocol_builder struct {

	// Fields of oneof xxx_hidden_Protocol:
	Shadowsocks  *Shadowsocks
	Shadowsocksr *Shadowsocksr
	Vmess        *Vmess
	Websocket    *Websocket
	Quic         *Quic
	ObfsHttp     *ObfsHttp
	Trojan       *Trojan
	Simple       *Simple
	None         *None
	Socks5       *Socks5
	Http         *Http
	Direct       *Direct
	Reject       *Reject
	Yuubinsya    *Yuubinsya
	Grpc         *Grpc
	Http2        *Http2
	Reality      *Reality
	Tls          *TlsConfig
	Wireguard    *Wireguard
	Mux          *Mux
	Drop         *Drop
	Vless        *Vless
	// bootstrap_dns make the dialer use bootstrap dns to resolve the outbound
	// address instead of the route dns
	BootstrapDnsWarp *BootstrapDnsWarp
	// contains filtered or unexported fields
}

func (Protocol_builder) Build added in v0.3.8

func (b0 Protocol_builder) Build() *Protocol

type Quic

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

func (*Quic) ClearHost added in v0.3.8

func (x *Quic) ClearHost()

func (*Quic) ClearTls added in v0.3.8

func (x *Quic) ClearTls()

func (*Quic) GetHost added in v0.3.3

func (x *Quic) GetHost() string

func (*Quic) GetTls

func (x *Quic) GetTls() *TlsConfig

func (*Quic) HasHost added in v0.3.8

func (x *Quic) HasHost() bool

func (*Quic) HasTls added in v0.3.8

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

func (x *Quic) SetHost(v string)

func (*Quic) SetTls added in v0.3.8

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

func (*Quic) String

func (x *Quic) String() string

type Quic_builder added in v0.3.8

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

func (Quic_builder) Build added in v0.3.8

func (b0 Quic_builder) Build() *Quic

type Reality

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

func (*Reality) ClearDebug added in v0.3.8

func (x *Reality) ClearDebug()

func (*Reality) ClearPublicKey added in v0.3.8

func (x *Reality) ClearPublicKey()

func (*Reality) ClearServerName added in v0.3.8

func (x *Reality) ClearServerName()

func (*Reality) ClearShortId added in v0.3.8

func (x *Reality) ClearShortId()

func (*Reality) GetDebug

func (x *Reality) GetDebug() bool

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

func (x *Reality) HasDebug() bool

func (*Reality) HasPublicKey added in v0.3.8

func (x *Reality) HasPublicKey() bool

func (*Reality) HasServerName added in v0.3.8

func (x *Reality) HasServerName() bool

func (*Reality) HasShortId added in v0.3.8

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

func (x *Reality) SetDebug(v bool)

func (*Reality) SetPublicKey added in v0.3.8

func (x *Reality) SetPublicKey(v string)

func (*Reality) SetServerName added in v0.3.8

func (x *Reality) SetServerName(v string)

func (*Reality) SetShortId added in v0.3.8

func (x *Reality) SetShortId(v string)

func (*Reality) String

func (x *Reality) String() string

type Reality_builder added in v0.3.8

type Reality_builder struct {
	ServerName *string
	PublicKey  *string
	ShortId    *string
	Debug      *bool
	// contains filtered or unexported fields
}

func (Reality_builder) Build added in v0.3.8

func (b0 Reality_builder) Build() *Reality

type Reject

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

func (*Reject) ProtoMessage

func (*Reject) ProtoMessage()

func (*Reject) ProtoReflect

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

func (*Reject) Reset

func (x *Reject) Reset()

func (*Reject) String

func (x *Reject) String() string

type Reject_builder added in v0.3.8

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

func (Reject_builder) Build added in v0.3.8

func (b0 Reject_builder) Build() *Reject

type Shadowsocks

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

func (*Shadowsocks) ClearMethod added in v0.3.8

func (x *Shadowsocks) ClearMethod()

func (*Shadowsocks) ClearPassword added in v0.3.8

func (x *Shadowsocks) ClearPassword()

func (*Shadowsocks) GetMethod

func (x *Shadowsocks) GetMethod() string

func (*Shadowsocks) GetPassword

func (x *Shadowsocks) GetPassword() string

func (*Shadowsocks) HasMethod added in v0.3.8

func (x *Shadowsocks) HasMethod() bool

func (*Shadowsocks) HasPassword added in v0.3.8

func (x *Shadowsocks) HasPassword() bool

func (*Shadowsocks) ProtoMessage

func (*Shadowsocks) ProtoMessage()

func (*Shadowsocks) ProtoReflect

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

func (*Shadowsocks) Reset

func (x *Shadowsocks) Reset()

func (*Shadowsocks) SetMethod added in v0.3.8

func (x *Shadowsocks) SetMethod(v string)

func (*Shadowsocks) SetPassword added in v0.3.8

func (x *Shadowsocks) SetPassword(v string)

func (*Shadowsocks) String

func (x *Shadowsocks) String() string

type Shadowsocks_builder added in v0.3.8

type Shadowsocks_builder struct {
	Method   *string
	Password *string
	// contains filtered or unexported fields
}

func (Shadowsocks_builder) Build added in v0.3.8

func (b0 Shadowsocks_builder) Build() *Shadowsocks

type Shadowsocksr

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

func (*Shadowsocksr) ClearMethod added in v0.3.8

func (x *Shadowsocksr) ClearMethod()

func (*Shadowsocksr) ClearObfs added in v0.3.8

func (x *Shadowsocksr) ClearObfs()

func (*Shadowsocksr) ClearObfsparam added in v0.3.8

func (x *Shadowsocksr) ClearObfsparam()

func (*Shadowsocksr) ClearPassword added in v0.3.8

func (x *Shadowsocksr) ClearPassword()

func (*Shadowsocksr) ClearPort added in v0.3.8

func (x *Shadowsocksr) ClearPort()

func (*Shadowsocksr) ClearProtocol added in v0.3.8

func (x *Shadowsocksr) ClearProtocol()

func (*Shadowsocksr) ClearProtoparam added in v0.3.8

func (x *Shadowsocksr) ClearProtoparam()

func (*Shadowsocksr) ClearServer added in v0.3.8

func (x *Shadowsocksr) ClearServer()

func (*Shadowsocksr) GetMethod

func (x *Shadowsocksr) GetMethod() string

func (*Shadowsocksr) GetObfs

func (x *Shadowsocksr) GetObfs() string

func (*Shadowsocksr) GetObfsparam

func (x *Shadowsocksr) GetObfsparam() string

func (*Shadowsocksr) GetPassword

func (x *Shadowsocksr) GetPassword() string

func (*Shadowsocksr) GetPort

func (x *Shadowsocksr) GetPort() string

func (*Shadowsocksr) GetProtocol

func (x *Shadowsocksr) GetProtocol() string

func (*Shadowsocksr) GetProtoparam

func (x *Shadowsocksr) GetProtoparam() string

func (*Shadowsocksr) GetServer

func (x *Shadowsocksr) GetServer() string

func (*Shadowsocksr) HasMethod added in v0.3.8

func (x *Shadowsocksr) HasMethod() bool

func (*Shadowsocksr) HasObfs added in v0.3.8

func (x *Shadowsocksr) HasObfs() bool

func (*Shadowsocksr) HasObfsparam added in v0.3.8

func (x *Shadowsocksr) HasObfsparam() bool

func (*Shadowsocksr) HasPassword added in v0.3.8

func (x *Shadowsocksr) HasPassword() bool

func (*Shadowsocksr) HasPort added in v0.3.8

func (x *Shadowsocksr) HasPort() bool

func (*Shadowsocksr) HasProtocol added in v0.3.8

func (x *Shadowsocksr) HasProtocol() bool

func (*Shadowsocksr) HasProtoparam added in v0.3.8

func (x *Shadowsocksr) HasProtoparam() bool

func (*Shadowsocksr) HasServer added in v0.3.8

func (x *Shadowsocksr) HasServer() bool

func (*Shadowsocksr) ProtoMessage

func (*Shadowsocksr) ProtoMessage()

func (*Shadowsocksr) ProtoReflect

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

func (*Shadowsocksr) Reset

func (x *Shadowsocksr) Reset()

func (*Shadowsocksr) SetMethod added in v0.3.8

func (x *Shadowsocksr) SetMethod(v string)

func (*Shadowsocksr) SetObfs added in v0.3.8

func (x *Shadowsocksr) SetObfs(v string)

func (*Shadowsocksr) SetObfsparam added in v0.3.8

func (x *Shadowsocksr) SetObfsparam(v string)

func (*Shadowsocksr) SetPassword added in v0.3.8

func (x *Shadowsocksr) SetPassword(v string)

func (*Shadowsocksr) SetPort added in v0.3.8

func (x *Shadowsocksr) SetPort(v string)

func (*Shadowsocksr) SetProtocol added in v0.3.8

func (x *Shadowsocksr) SetProtocol(v string)

func (*Shadowsocksr) SetProtoparam added in v0.3.8

func (x *Shadowsocksr) SetProtoparam(v string)

func (*Shadowsocksr) SetServer added in v0.3.8

func (x *Shadowsocksr) SetServer(v string)

func (*Shadowsocksr) String

func (x *Shadowsocksr) String() string

type Shadowsocksr_builder added in v0.3.8

type Shadowsocksr_builder struct {
	Server     *string
	Port       *string
	Method     *string
	Password   *string
	Obfs       *string
	Obfsparam  *string
	Protocol   *string
	Protoparam *string
	// contains filtered or unexported fields
}

func (Shadowsocksr_builder) Build added in v0.3.8

func (b0 Shadowsocksr_builder) Build() *Shadowsocksr

type Simple

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

func (*Simple) ClearHost added in v0.3.8

func (x *Simple) ClearHost()

func (*Simple) ClearNetworkInterface added in v0.3.8

func (x *Simple) ClearNetworkInterface()

func (*Simple) ClearPort added in v0.3.8

func (x *Simple) ClearPort()

func (*Simple) GetAlternateHost

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

func (*Simple) GetHost

func (x *Simple) GetHost() string

func (*Simple) GetNetworkInterface added in v0.3.8

func (x *Simple) GetNetworkInterface() string

func (*Simple) GetPort

func (x *Simple) GetPort() int32

func (*Simple) HasHost added in v0.3.8

func (x *Simple) HasHost() bool

func (*Simple) HasNetworkInterface added in v0.3.8

func (x *Simple) HasNetworkInterface() bool

func (*Simple) HasPort added in v0.3.8

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

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

func (*Simple) SetHost added in v0.3.8

func (x *Simple) SetHost(v string)

func (*Simple) SetNetworkInterface added in v0.3.8

func (x *Simple) SetNetworkInterface(v string)

func (*Simple) SetPort added in v0.3.8

func (x *Simple) SetPort(v int32)

func (*Simple) String

func (x *Simple) String() string

type Simple_builder added in v0.3.8

type Simple_builder struct {
	Host             *string
	Port             *int32
	AlternateHost    []*Host
	NetworkInterface *string
	// contains filtered or unexported fields
}

func (Simple_builder) Build added in v0.3.8

func (b0 Simple_builder) Build() *Simple

type Socks5

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

func (*Socks5) ClearHostname added in v0.3.8

func (x *Socks5) ClearHostname()

func (*Socks5) ClearOverridePort added in v0.3.8

func (x *Socks5) ClearOverridePort()

func (*Socks5) ClearPassword added in v0.3.8

func (x *Socks5) ClearPassword()

func (*Socks5) ClearUser added in v0.3.8

func (x *Socks5) ClearUser()

func (*Socks5) GetHostname

func (x *Socks5) GetHostname() string

func (*Socks5) GetOverridePort added in v0.3.8

func (x *Socks5) GetOverridePort() uint32

func (*Socks5) GetPassword

func (x *Socks5) GetPassword() string

func (*Socks5) GetUser

func (x *Socks5) GetUser() string

func (*Socks5) HasHostname added in v0.3.8

func (x *Socks5) HasHostname() bool

func (*Socks5) HasOverridePort added in v0.3.8

func (x *Socks5) HasOverridePort() bool

func (*Socks5) HasPassword added in v0.3.8

func (x *Socks5) HasPassword() bool

func (*Socks5) HasUser added in v0.3.8

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

func (x *Socks5) SetHostname(v string)

func (*Socks5) SetOverridePort added in v0.3.8

func (x *Socks5) SetOverridePort(v uint32)

func (*Socks5) SetPassword added in v0.3.8

func (x *Socks5) SetPassword(v string)

func (*Socks5) SetUser added in v0.3.8

func (x *Socks5) SetUser(v string)

func (*Socks5) String

func (x *Socks5) String() string

type Socks5_builder added in v0.3.8

type Socks5_builder struct {

	// eg: 127.0.0.1
	Hostname *string
	User     *string
	Password *string
	// TODO: add override hostname options
	OverridePort *uint32
	// contains filtered or unexported fields
}

func (Socks5_builder) Build added in v0.3.8

func (b0 Socks5_builder) Build() *Socks5

type TlsConfig

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

func (*TlsConfig) ClearEchConfig added in v0.3.8

func (x *TlsConfig) ClearEchConfig()

func (*TlsConfig) ClearEnable added in v0.3.8

func (x *TlsConfig) ClearEnable()

func (*TlsConfig) ClearInsecureSkipVerify added in v0.3.8

func (x *TlsConfig) ClearInsecureSkipVerify()

func (*TlsConfig) GetCaCert

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

func (*TlsConfig) GetEchConfig added in v0.3.7

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

func (x *TlsConfig) HasEchConfig() bool

func (*TlsConfig) HasEnable added in v0.3.8

func (x *TlsConfig) HasEnable() bool

func (*TlsConfig) HasInsecureSkipVerify added in v0.3.8

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

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

func (*TlsConfig) SetEchConfig added in v0.3.8

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

func (*TlsConfig) SetEnable added in v0.3.8

func (x *TlsConfig) SetEnable(v bool)

func (*TlsConfig) SetInsecureSkipVerify added in v0.3.8

func (x *TlsConfig) SetInsecureSkipVerify(v bool)

func (*TlsConfig) SetNextProtos added in v0.3.8

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

func (*TlsConfig) SetServerNames added in v0.3.8

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

func (*TlsConfig) String

func (x *TlsConfig) String() string

type TlsConfig_builder added in v0.3.8

type TlsConfig_builder struct {
	Enable             *bool
	ServerNames        []string
	CaCert             [][]byte
	InsecureSkipVerify *bool
	// next_protos ALPN Next Protocol
	// eg: h2, http/1.1
	NextProtos []string
	EchConfig  []byte
	// contains filtered or unexported fields
}

func (TlsConfig_builder) Build added in v0.3.8

func (b0 TlsConfig_builder) Build() *TlsConfig

type Trojan

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

func (*Trojan) ClearPassword added in v0.3.8

func (x *Trojan) ClearPassword()

func (*Trojan) ClearPeer added in v0.3.8

func (x *Trojan) ClearPeer()

func (*Trojan) GetPassword

func (x *Trojan) GetPassword() string

func (*Trojan) GetPeer

func (x *Trojan) GetPeer() string

func (*Trojan) HasPassword added in v0.3.8

func (x *Trojan) HasPassword() bool

func (*Trojan) HasPeer added in v0.3.8

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

func (x *Trojan) SetPassword(v string)

func (*Trojan) SetPeer added in v0.3.8

func (x *Trojan) SetPeer(v string)

func (*Trojan) String

func (x *Trojan) String() string

type Trojan_builder added in v0.3.8

type Trojan_builder struct {
	Password *string
	Peer     *string
	// contains filtered or unexported fields
}

func (Trojan_builder) Build added in v0.3.8

func (b0 Trojan_builder) Build() *Trojan

type Vless added in v0.3.4

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

func (*Vless) ClearUuid added in v0.3.8

func (x *Vless) ClearUuid()

func (*Vless) GetUuid added in v0.3.4

func (x *Vless) GetUuid() string

func (*Vless) HasUuid added in v0.3.8

func (x *Vless) HasUuid() bool

func (*Vless) ProtoMessage added in v0.3.4

func (*Vless) ProtoMessage()

func (*Vless) ProtoReflect added in v0.3.4

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

func (*Vless) Reset added in v0.3.4

func (x *Vless) Reset()

func (*Vless) SetUuid added in v0.3.8

func (x *Vless) SetUuid(v string)

func (*Vless) String added in v0.3.4

func (x *Vless) String() string

type Vless_builder added in v0.3.8

type Vless_builder struct {
	Uuid *string
	// contains filtered or unexported fields
}

func (Vless_builder) Build added in v0.3.8

func (b0 Vless_builder) Build() *Vless

type Vmess

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

func (*Vmess) ClearAlterId added in v0.3.8

func (x *Vmess) ClearAlterId()

func (*Vmess) ClearSecurity added in v0.3.8

func (x *Vmess) ClearSecurity()

func (*Vmess) ClearUuid added in v0.3.8

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

func (x *Vmess) HasAlterId() bool

func (*Vmess) HasSecurity added in v0.3.8

func (x *Vmess) HasSecurity() bool

func (*Vmess) HasUuid added in v0.3.8

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

func (x *Vmess) SetAlterId(v string)

func (*Vmess) SetSecurity added in v0.3.8

func (x *Vmess) SetSecurity(v string)

func (*Vmess) SetUuid added in v0.3.8

func (x *Vmess) SetUuid(v string)

func (*Vmess) String

func (x *Vmess) String() string

type Vmess_builder added in v0.3.8

type Vmess_builder struct {

	// uuid
	Uuid *string
	// alter id
	AlterId  *string
	Security *string
	// contains filtered or unexported fields
}

func (Vmess_builder) Build added in v0.3.8

func (b0 Vmess_builder) Build() *Vmess

type Websocket

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

func (*Websocket) ClearHost added in v0.3.8

func (x *Websocket) ClearHost()

func (*Websocket) ClearPath added in v0.3.8

func (x *Websocket) ClearPath()

func (*Websocket) GetHost

func (x *Websocket) GetHost() string

func (*Websocket) GetPath

func (x *Websocket) GetPath() string

func (*Websocket) HasHost added in v0.3.8

func (x *Websocket) HasHost() bool

func (*Websocket) HasPath added in v0.3.8

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

func (x *Websocket) SetHost(v string)

func (*Websocket) SetPath added in v0.3.8

func (x *Websocket) SetPath(v string)

func (*Websocket) String

func (x *Websocket) String() string

type Websocket_builder added in v0.3.8

type Websocket_builder struct {
	Host *string
	Path *string
	// contains filtered or unexported fields
}

func (Websocket_builder) Build added in v0.3.8

func (b0 Websocket_builder) Build() *Websocket

type Wireguard

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

func (*Wireguard) ClearIdleTimeout added in v0.3.8

func (x *Wireguard) ClearIdleTimeout()

func (*Wireguard) ClearMtu added in v0.3.8

func (x *Wireguard) ClearMtu()

func (*Wireguard) ClearReserved added in v0.3.8

func (x *Wireguard) ClearReserved()

func (*Wireguard) ClearSecretKey added in v0.3.8

func (x *Wireguard) ClearSecretKey()

func (*Wireguard) GetEndpoint

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

func (*Wireguard) GetIdleTimeout added in v0.3.4

func (x *Wireguard) GetIdleTimeout() int32

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

func (x *Wireguard) HasIdleTimeout() bool

func (*Wireguard) HasMtu added in v0.3.8

func (x *Wireguard) HasMtu() bool

func (*Wireguard) HasReserved added in v0.3.8

func (x *Wireguard) HasReserved() bool

func (*Wireguard) HasSecretKey added in v0.3.8

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

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

func (*Wireguard) SetIdleTimeout added in v0.3.8

func (x *Wireguard) SetIdleTimeout(v int32)

func (*Wireguard) SetMtu added in v0.3.8

func (x *Wireguard) SetMtu(v int32)

func (*Wireguard) SetPeers added in v0.3.8

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

func (*Wireguard) SetReserved added in v0.3.8

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

func (*Wireguard) SetSecretKey added in v0.3.8

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

func (x *WireguardPeerConfig) ClearEndpoint()

func (*WireguardPeerConfig) ClearKeepAlive added in v0.3.8

func (x *WireguardPeerConfig) ClearKeepAlive()

func (*WireguardPeerConfig) ClearPreSharedKey added in v0.3.8

func (x *WireguardPeerConfig) ClearPreSharedKey()

func (*WireguardPeerConfig) ClearPublicKey added in v0.3.8

func (x *WireguardPeerConfig) ClearPublicKey()

func (*WireguardPeerConfig) GetAllowedIps

func (x *WireguardPeerConfig) GetAllowedIps() []string

func (*WireguardPeerConfig) GetEndpoint

func (x *WireguardPeerConfig) GetEndpoint() string

func (*WireguardPeerConfig) GetKeepAlive

func (x *WireguardPeerConfig) GetKeepAlive() int32

func (*WireguardPeerConfig) GetPreSharedKey

func (x *WireguardPeerConfig) GetPreSharedKey() string

func (*WireguardPeerConfig) GetPublicKey

func (x *WireguardPeerConfig) GetPublicKey() string

func (*WireguardPeerConfig) HasEndpoint added in v0.3.8

func (x *WireguardPeerConfig) HasEndpoint() bool

func (*WireguardPeerConfig) HasKeepAlive added in v0.3.8

func (x *WireguardPeerConfig) HasKeepAlive() bool

func (*WireguardPeerConfig) HasPreSharedKey added in v0.3.8

func (x *WireguardPeerConfig) HasPreSharedKey() bool

func (*WireguardPeerConfig) HasPublicKey added in v0.3.8

func (x *WireguardPeerConfig) HasPublicKey() bool

func (*WireguardPeerConfig) ProtoMessage

func (*WireguardPeerConfig) ProtoMessage()

func (*WireguardPeerConfig) ProtoReflect

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

func (*WireguardPeerConfig) Reset

func (x *WireguardPeerConfig) Reset()

func (*WireguardPeerConfig) SetAllowedIps added in v0.3.8

func (x *WireguardPeerConfig) SetAllowedIps(v []string)

func (*WireguardPeerConfig) SetEndpoint added in v0.3.8

func (x *WireguardPeerConfig) SetEndpoint(v string)

func (*WireguardPeerConfig) SetKeepAlive added in v0.3.8

func (x *WireguardPeerConfig) SetKeepAlive(v int32)

func (*WireguardPeerConfig) SetPreSharedKey added in v0.3.8

func (x *WireguardPeerConfig) SetPreSharedKey(v string)

func (*WireguardPeerConfig) SetPublicKey added in v0.3.8

func (x *WireguardPeerConfig) SetPublicKey(v string)

func (*WireguardPeerConfig) String

func (x *WireguardPeerConfig) String() string

type WireguardPeerConfig_builder added in v0.3.8

type WireguardPeerConfig_builder struct {
	PublicKey    *string
	PreSharedKey *string
	Endpoint     *string
	KeepAlive    *int32
	AllowedIps   []string
	// contains filtered or unexported fields
}

func (WireguardPeerConfig_builder) Build added in v0.3.8

type Wireguard_builder added in v0.3.8

type Wireguard_builder struct {
	SecretKey   *string
	Endpoint    []string
	Peers       []*WireguardPeerConfig
	Mtu         *int32
	Reserved    []byte
	IdleTimeout *int32
	// contains filtered or unexported fields
}

func (Wireguard_builder) Build added in v0.3.8

func (b0 Wireguard_builder) Build() *Wireguard

type Yuubinsya

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

func (*Yuubinsya) ClearPassword added in v0.3.8

func (x *Yuubinsya) ClearPassword()

func (*Yuubinsya) ClearTcpEncrypt added in v0.3.8

func (x *Yuubinsya) ClearTcpEncrypt()

func (*Yuubinsya) ClearUdpEncrypt added in v0.3.8

func (x *Yuubinsya) ClearUdpEncrypt()

func (*Yuubinsya) ClearUdpOverStream added in v0.3.8

func (x *Yuubinsya) ClearUdpOverStream()

func (*Yuubinsya) GetPassword

func (x *Yuubinsya) GetPassword() string

func (*Yuubinsya) GetTcpEncrypt added in v0.3.5

func (x *Yuubinsya) GetTcpEncrypt() bool

func (*Yuubinsya) GetUdpEncrypt added in v0.3.5

func (x *Yuubinsya) GetUdpEncrypt() bool

func (*Yuubinsya) GetUdpOverStream added in v0.3.3

func (x *Yuubinsya) GetUdpOverStream() bool

func (*Yuubinsya) HasPassword added in v0.3.8

func (x *Yuubinsya) HasPassword() bool

func (*Yuubinsya) HasTcpEncrypt added in v0.3.8

func (x *Yuubinsya) HasTcpEncrypt() bool

func (*Yuubinsya) HasUdpEncrypt added in v0.3.8

func (x *Yuubinsya) HasUdpEncrypt() bool

func (*Yuubinsya) HasUdpOverStream added in v0.3.8

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

func (x *Yuubinsya) SetPassword(v string)

func (*Yuubinsya) SetTcpEncrypt added in v0.3.8

func (x *Yuubinsya) SetTcpEncrypt(v bool)

func (*Yuubinsya) SetUdpEncrypt added in v0.3.8

func (x *Yuubinsya) SetUdpEncrypt(v bool)

func (*Yuubinsya) SetUdpOverStream added in v0.3.8

func (x *Yuubinsya) SetUdpOverStream(v bool)

func (*Yuubinsya) String

func (x *Yuubinsya) String() string

type Yuubinsya_builder added in v0.3.8

type Yuubinsya_builder struct {
	Password      *string
	TcpEncrypt    *bool
	UdpEncrypt    *bool
	UdpOverStream *bool
	// contains filtered or unexported fields
}

func (Yuubinsya_builder) Build added in v0.3.8

func (b0 Yuubinsya_builder) Build() *Yuubinsya

Jump to

Keyboard shortcuts

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