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

package outbound

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

Index

Package Files

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

Variables

var File_proxy_vmess_outbound_config_proto protoreflect.FileDescriptor

type Config Uses

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

func (*Config) Descriptor Uses

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetReceiver Uses

func (x *Config) GetReceiver() []*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 VMess protocol.

func New Uses

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

New creates a new VMess 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 23 packages (graph) and is imported by 11 packages. Updated 2020-10-15. Refresh now. Tools for package owners.