dispatcher

package
v2.12.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package dispatcher is a generated protocol buffer package.

It is generated from these files:

v2ray.com/core/app/dispatcher/config.proto

It has these top-level messages:

Config

Index

Constants

View Source
const (
	APP_ID = app.ID(1)
)

Variables

View Source
var Config_FixDestination_name = map[int32]string{
	0: "Auto",
	1: "Enabled",
	2: "Disabled",
}
View Source
var Config_FixDestination_value = map[string]int32{
	"Auto":     0,
	"Enabled":  1,
	"Disabled": 2,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	FixDestination Config_FixDestination `` /* 150-byte string literal not displayed */
}

func (*Config) Descriptor

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

func (*Config) GetFixDestination

func (m *Config) GetFixDestination() Config_FixDestination

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

type Config_FixDestination

type Config_FixDestination int32
const (
	Config_Auto     Config_FixDestination = 0
	Config_Enabled  Config_FixDestination = 1
	Config_Disabled Config_FixDestination = 2
)

func (Config_FixDestination) EnumDescriptor

func (Config_FixDestination) EnumDescriptor() ([]byte, []int)

func (Config_FixDestination) String

func (x Config_FixDestination) String() string

type PacketDispatcher

type PacketDispatcher interface {
	DispatchToOutbound(session *proxy.SessionInfo) ray.InboundRay
}

PacketDispatcher dispatch a packet and possibly further network payload to its destination.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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