core: v2ray.com/core/transport Index | Files | Directories

package transport

import "v2ray.com/core/transport"

Index

Package Files

config.go config.pb.go link.go

Variables

var File_v2ray_com_core_transport_config_proto protoreflect.FileDescriptor

type Config Uses

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.

func (*Config) Apply Uses

func (c *Config) Apply() error

Apply applies this Config.

func (*Config) Descriptor Uses

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetTransportSettings Uses

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

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) ProtoReflect Uses

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

func (*Config) Reset Uses

func (x *Config) Reset()

func (*Config) String Uses

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

PathSynopsis
internet
internet/domainsocket
internet/headers/http
internet/headers/noop
internet/headers/srtp
internet/headers/tls
internet/headers/utp
internet/headers/wechat
internet/headers/wireguard
internet/http
internet/kcpPackage kcp - A Fast and Reliable ARQ Protocol
internet/quic
internet/tcp
internet/tls
internet/udp
internet/websocketPackage websocket implements Websocket transport
pipe

Package transport imports 7 packages (graph) and is imported by 89 packages. Updated 2020-07-16. Refresh now. Tools for package owners.