transport

package
v3.11.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.1.0

type Config struct {
	TransportSettings []*v2ray_core_transport_internet.TransportConfig `protobuf:"bytes,1,rep,name=transport_settings,json=transportSettings" json:"transport_settings,omitempty"`
}

Global transport settings. This affects all type of connections that go through V2Ray.

func (*Config) Apply added in v1.1.0

func (c *Config) Apply() error

Apply applies this Config.

func (*Config) Descriptor added in v1.1.0

func (*Config) Descriptor() ([]byte, []int)

func (*Config) GetTransportSettings added in v1.1.0

func (m *Config) GetTransportSettings() []*v2ray_core_transport_internet.TransportConfig

func (*Config) ProtoMessage added in v1.1.0

func (*Config) ProtoMessage()

func (*Config) Reset added in v1.1.0

func (m *Config) Reset()

func (*Config) String added in v1.1.0

func (m *Config) String() string

Directories

Path Synopsis
kcp
Package kcp - A Fast and Reliable ARQ Protocol
Package kcp - A Fast and Reliable ARQ Protocol
tcp
tls
udp
websocket
Package websocket implements Websocket transport
Package websocket implements Websocket transport

Jump to

Keyboard shortcuts

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