outbound

package
v2.16.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 29, 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 added in v1.1.2

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

func (v *VMessOutboundHandler) Process(ctx context.Context, outboundRay ray.OutboundRay) error

Dispatch implements OutboundHandler.Dispatch().

Jump to

Keyboard shortcuts

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