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

type Config Uses

type Config struct {
    Receiver             []*protocol.ServerEndpoint `protobuf:"bytes,1,rep,name=Receiver,proto3" json:"Receiver,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
    XXX_unrecognized     []byte                     `json:"-"`
    XXX_sizecache        int32                      `json:"-"`
}

func (*Config) Descriptor Uses

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

func (*Config) GetReceiver Uses

func (m *Config) GetReceiver() []*protocol.ServerEndpoint

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) Reset Uses

func (m *Config) Reset()

func (*Config) String Uses

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown Uses

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal Uses

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge Uses

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size Uses

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal Uses

func (m *Config) XXX_Unmarshal(b []byte) error

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 (v *Handler) Process(ctx context.Context, link *transport.Link, dialer internet.Dialer) error

Process implements proxy.Outbound.Process().

Package outbound imports 21 packages (graph) and is imported by 6 packages. Updated 2019-04-08. Refresh now. Tools for package owners.