transport

package
v2.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2016 License: MIT Imports: 5 Imported by: 0

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.1.0

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) Apply added in v1.1.0

func (this *Config) Apply() error

Apply applies this Config.

func (*Config) Descriptor added in v1.1.0

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

func (*Config) GetNetworkSettings

func (m *Config) GetNetworkSettings() []*v2ray_core_transport_internet.NetworkSettings

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
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.
udp
ws
Package ws is a generated protocol buffer package.
Package ws is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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