outbound

package
v1.260206.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MPL-2.0 Imports: 39 Imported by: 67

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proxy_vless_outbound_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config

type Config struct {
	Vnext *protocol.ServerEndpoint `protobuf:"bytes,1,opt,name=vnext,proto3" json:"vnext,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetVnext

func (x *Config) GetVnext() *protocol.ServerEndpoint

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type ConnExpire added in v1.251202.0

type ConnExpire struct {
	Conn   stat.Connection
	Expire time.Time
}

type Handler

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

Handler is an outbound connection handler for VLess protocol.

func New

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

New creates a new VLess outbound handler.

func (*Handler) Close added in v1.250910.0

func (h *Handler) Close() error

Close implements common.Closable.Close().

func (*Handler) Process

func (h *Handler) Process(ctx context.Context, link *transport.Link, dialer internet.Dialer) error

Process implements proxy.Outbound.Process().

type Reverse added in v1.250910.0

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

func (*Reverse) Close added in v1.250910.0

func (r *Reverse) Close() error

func (*Reverse) Start added in v1.250910.0

func (r *Reverse) Start() error

Jump to

Keyboard shortcuts

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