transport

package
v0.0.0-...-07af6e5 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 6 Imported by: 0

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