outbound

package
v3.21.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: MIT Imports: 20 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 Handler

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

Handler is an outbound connection handler for VMess protocol.

func New

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

func (*Handler) Process

func (v *Handler) Process(ctx context.Context, link *core.Link, dialer proxy.Dialer) error

Process implements proxy.Outbound.Process().

Jump to

Keyboard shortcuts

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