Documentation ¶
Index ¶
- Variables
- type Handler
- type UDPProtocolConfig
- func (*UDPProtocolConfig) Descriptor() ([]byte, []int)deprecated
- func (x *UDPProtocolConfig) GetAddress() *net.IPOrDomain
- func (x *UDPProtocolConfig) GetEnableFec() bool
- func (x *UDPProtocolConfig) GetEnableRenegotiation() bool
- func (x *UDPProtocolConfig) GetEnableStabilization() bool
- func (x *UDPProtocolConfig) GetHandshakeMaskingPaddingSize() uint32
- func (x *UDPProtocolConfig) GetPassword() string
- func (x *UDPProtocolConfig) GetPort() uint32
- func (x *UDPProtocolConfig) GetScramblePacket() bool
- func (*UDPProtocolConfig) ProtoMessage()
- func (x *UDPProtocolConfig) ProtoReflect() protoreflect.Message
- func (x *UDPProtocolConfig) Reset()
- func (x *UDPProtocolConfig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proxy_vlite_outbound_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewUDPOutboundHandler ¶
func NewUDPOutboundHandler(ctx context.Context, config *UDPProtocolConfig) (*Handler, error)
type UDPProtocolConfig ¶
type UDPProtocolConfig struct { Address *net.IPOrDomain `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` ScramblePacket bool `protobuf:"varint,4,opt,name=scramble_packet,json=scramblePacket,proto3" json:"scramble_packet,omitempty"` EnableFec bool `protobuf:"varint,5,opt,name=enable_fec,json=enableFec,proto3" json:"enable_fec,omitempty"` EnableStabilization bool `protobuf:"varint,6,opt,name=enable_stabilization,json=enableStabilization,proto3" json:"enable_stabilization,omitempty"` EnableRenegotiation bool `protobuf:"varint,7,opt,name=enable_renegotiation,json=enableRenegotiation,proto3" json:"enable_renegotiation,omitempty"` HandshakeMaskingPaddingSize uint32 `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UDPProtocolConfig) Descriptor
deprecated
func (*UDPProtocolConfig) Descriptor() ([]byte, []int)
Deprecated: Use UDPProtocolConfig.ProtoReflect.Descriptor instead.
func (*UDPProtocolConfig) GetAddress ¶
func (x *UDPProtocolConfig) GetAddress() *net.IPOrDomain
func (*UDPProtocolConfig) GetEnableFec ¶
func (x *UDPProtocolConfig) GetEnableFec() bool
func (*UDPProtocolConfig) GetEnableRenegotiation ¶
func (x *UDPProtocolConfig) GetEnableRenegotiation() bool
func (*UDPProtocolConfig) GetEnableStabilization ¶
func (x *UDPProtocolConfig) GetEnableStabilization() bool
func (*UDPProtocolConfig) GetHandshakeMaskingPaddingSize ¶
func (x *UDPProtocolConfig) GetHandshakeMaskingPaddingSize() uint32
func (*UDPProtocolConfig) GetPassword ¶
func (x *UDPProtocolConfig) GetPassword() string
func (*UDPProtocolConfig) GetPort ¶
func (x *UDPProtocolConfig) GetPort() uint32
func (*UDPProtocolConfig) GetScramblePacket ¶
func (x *UDPProtocolConfig) GetScramblePacket() bool
func (*UDPProtocolConfig) ProtoMessage ¶
func (*UDPProtocolConfig) ProtoMessage()
func (*UDPProtocolConfig) ProtoReflect ¶
func (x *UDPProtocolConfig) ProtoReflect() protoreflect.Message
func (*UDPProtocolConfig) Reset ¶
func (x *UDPProtocolConfig) Reset()
func (*UDPProtocolConfig) String ¶
func (x *UDPProtocolConfig) String() string
Click to show internal directories.
Click to hide internal directories.