core: v2ray.com/core/proxy/vless/outbound Index | Files

package outbound

import "v2ray.com/core/proxy/vless/outbound"

Index

Package Files

config.go config.pb.go errors.generated.go outbound.go

Variables

var File_proxy_vless_outbound_config_proto protoreflect.FileDescriptor

type Config Uses

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

func (*Config) Descriptor Uses

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetVnext Uses

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

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) ProtoReflect Uses

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

func (*Config) Reset Uses

func (x *Config) Reset()

func (*Config) String Uses

func (x *Config) String() string

type Handler Uses

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

Handler is an outbound connection handler for VLess protocol.

func New Uses

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

New creates a new VLess outbound handler.

func (*Handler) Process Uses

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

Process implements proxy.Outbound.Process().

Package outbound imports 24 packages (graph) and is imported by 4 packages. Updated 2020-10-15. Refresh now. Tools for package owners.