transport

package
v5.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: MIT Imports: 6 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transport_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config deprecated

type Config struct {
	TransportSettings []*internet.TransportConfig `protobuf:"bytes,1,rep,name=transport_settings,json=transportSettings,proto3" json:"transport_settings,omitempty"`
	// contains filtered or unexported fields
}

Global transport settings. This affects all type of connections that go through V2Ray. Deprecated. Use each settings in StreamConfig.

Deprecated: Do not use.

func (*Config) Apply

func (c *Config) Apply() error

Apply applies this Config.

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetTransportSettings

func (x *Config) GetTransportSettings() []*internet.TransportConfig

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string
type Link struct {
	Reader buf.Reader
	Writer buf.Writer
}

Link is a utility for connecting between an inbound and an outbound proxy handler.

Directories

Path Synopsis
kcp
Package kcp - A Fast and Reliable ARQ Protocol Acknowledgement: skywind3000@github for inventing the KCP protocol xtaci@github for translating to Golang
Package kcp - A Fast and Reliable ARQ Protocol Acknowledgement: skywind3000@github for inventing the KCP protocol xtaci@github for translating to Golang
tcp
tls
udp
websocket
Package websocket implements Websocket transport Websocket transport implements an HTTP(S) compliable, surveillance proof transport method with plausible deniability.
Package websocket implements Websocket transport Websocket transport implements an HTTP(S) compliable, surveillance proof transport method with plausible deniability.

Jump to

Keyboard shortcuts

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