outbound

package
v2.15.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: MIT Imports: 21 Imported by: 0

Documentation

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 VMessOutboundHandler

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

VMessOutboundHandler is an outbound connection handler for VMess protocol.

func New

func New(ctx context.Context, config *Config) (*VMessOutboundHandler, error)

func (*VMessOutboundHandler) Dispatch

func (v *VMessOutboundHandler) Dispatch(target net.Destination, outboundRay ray.OutboundRay)

Dispatch implements OutboundHandler.Dispatch().

Jump to

Keyboard shortcuts

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