dokodemo

package
v2.3.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package dokodemo is a generated protocol buffer package.

It is generated from these files:

v2ray.com/core/proxy/dokodemo/config.proto

It has these top-level messages:

Config

Index

Constants

View Source
const SO_ORIGINAL_DST = 80

Variables

This section is empty.

Functions

func GetOriginalDestination added in v1.17.1

func GetOriginalDestination(conn internet.Connection) v2net.Destination

Types

type Config added in v1.1.0

type Config struct {
	Address        *v2ray_core_common_net.IPOrDomain   `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Port           uint32                              `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
	NetworkList    *v2ray_core_common_net1.NetworkList `protobuf:"bytes,3,opt,name=network_list,json=networkList" json:"network_list,omitempty"`
	Timeout        uint32                              `protobuf:"varint,4,opt,name=timeout" json:"timeout,omitempty"`
	FollowRedirect bool                                `protobuf:"varint,5,opt,name=follow_redirect,json=followRedirect" json:"follow_redirect,omitempty"`
}

func (*Config) Descriptor added in v1.1.0

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

func (*Config) GetAddress added in v1.1.0

func (m *Config) GetAddress() *v2ray_core_common_net.IPOrDomain

func (*Config) GetNetworkList added in v1.1.0

func (m *Config) GetNetworkList() *v2ray_core_common_net1.NetworkList

func (*Config) GetPredefinedAddress added in v1.1.0

func (this *Config) GetPredefinedAddress() v2net.Address

func (*Config) ProtoMessage added in v1.1.0

func (*Config) ProtoMessage()

func (*Config) Reset added in v1.1.0

func (m *Config) Reset()

func (*Config) String added in v1.1.0

func (m *Config) String() string

type DokodemoDoor

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

func NewDokodemoDoor

func NewDokodemoDoor(config *Config, space app.Space, meta *proxy.InboundHandlerMeta) *DokodemoDoor

func (*DokodemoDoor) Close added in v1.9.1

func (this *DokodemoDoor) Close()

func (*DokodemoDoor) HandleTCPConnection

func (this *DokodemoDoor) HandleTCPConnection(conn internet.Connection)

func (*DokodemoDoor) ListenTCP

func (this *DokodemoDoor) ListenTCP() error

func (*DokodemoDoor) ListenUDP

func (this *DokodemoDoor) ListenUDP() error

func (*DokodemoDoor) Port added in v1.9.1

func (this *DokodemoDoor) Port() v2net.Port

func (*DokodemoDoor) Start added in v1.17.1

func (this *DokodemoDoor) Start() error

type Factory added in v1.17.1

type Factory struct{}

func (*Factory) Create added in v1.17.1

func (this *Factory) Create(space app.Space, rawConfig interface{}, meta *proxy.InboundHandlerMeta) (proxy.InboundHandler, error)

func (*Factory) StreamCapability added in v1.17.1

func (this *Factory) StreamCapability() v2net.NetworkList

Jump to

Keyboard shortcuts

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