Documentation ¶
Overview ¶
Package transport is a generated protocol buffer package.
It is generated from these files:
v2ray.com/core/transport/config.proto
It has these top-level messages:
Config
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCorruptedPacket = errors.New("Packet is corrupted.")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.17.2
type Config struct {
NetworkSettings []*v2ray_core_transport_internet.NetworkSettings `protobuf:"bytes,1,rep,name=network_settings,json=networkSettings" json:"network_settings,omitempty"`
}
Global transport settings. This affects all type of connections that go through V2Ray.
func (*Config) Descriptor ¶
func (*Config) GetNetworkSettings ¶
func (m *Config) GetNetworkSettings() []*v2ray_core_transport_internet.NetworkSettings
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
Directories ¶
Path | Synopsis |
---|---|
Package internet is a generated protocol buffer package.
|
Package internet is a generated protocol buffer package. |
authenticators/http
Package http is a generated protocol buffer package.
|
Package http is a generated protocol buffer package. |
authenticators/noop
Package noop is a generated protocol buffer package.
|
Package noop is a generated protocol buffer package. |
authenticators/srtp
Package srtp is a generated protocol buffer package.
|
Package srtp is a generated protocol buffer package. |
authenticators/utp
Package utp is a generated protocol buffer package.
|
Package utp is a generated protocol buffer package. |
kcp
Package kcp is a generated protocol buffer package.
|
Package kcp is a generated protocol buffer package. |
tcp
Package tcp is a generated protocol buffer package.
|
Package tcp is a generated protocol buffer package. |
tls
Package tls is a generated protocol buffer package.
|
Package tls is a generated protocol buffer package. |
ws
Package ws is a generated protocol buffer package.
|
Package ws is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.