outbound

package
v2.12.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2016 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package outbound is a generated protocol buffer package.

It is generated from these files:

v2ray.com/core/proxy/vmess/outbound/config.proto

It has these top-level messages:

Config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Receiver []*v2ray_core_common_protocol1.ServerEndpoint `protobuf:"bytes,1,rep,name=Receiver" json:"Receiver,omitempty"`
}

func (*Config) Descriptor

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

func (*Config) GetReceiver

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

type Factory

type Factory struct{}

Factory is a proxy factory for VMess outbound.

func (*Factory) Create

func (v *Factory) Create(space app.Space, rawConfig interface{}, meta *proxy.OutboundHandlerMeta) (proxy.OutboundHandler, error)

func (*Factory) StreamCapability

func (v *Factory) StreamCapability() v2net.NetworkList

type VMessOutboundHandler

type VMessOutboundHandler struct {
	// contains filtered or unexported fields
}

VMessOutboundHandler is an outbound connection handler for VMess protocol.

func (*VMessOutboundHandler) Dispatch

func (v *VMessOutboundHandler) Dispatch(target v2net.Destination, payload *buf.Buffer, ray ray.OutboundRay)

Dispatch implements OutboundHandler.Dispatch().

Jump to

Keyboard shortcuts

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