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

type Config Uses

type Config struct {
    TransportSettings    []*internet.TransportConfig `protobuf:"bytes,1,rep,name=transport_settings,json=transportSettings,proto3" json:"transport_settings,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
    XXX_unrecognized     []byte                      `json:"-"`
    XXX_sizecache        int32                       `json:"-"`
}

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)

func (*Config) GetTransportSettings Uses

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

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) Reset Uses

func (m *Config) Reset()

func (*Config) String Uses

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown Uses

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal Uses

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge Uses

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size Uses

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal Uses

func (m *Config) XXX_Unmarshal(b []byte) error
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 5 packages (graph) and is imported by 45 packages. Updated 2019-05-26. Refresh now. Tools for package owners.