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) GetFixDestination ¶
func (m *Config) GetFixDestination() Config_FixDestination
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
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 ¶ added in v1.9.1
type PacketDispatcher interface {
DispatchToOutbound(session *proxy.SessionInfo) ray.InboundRay
}
PacketDispatcher dispatch a packet and possibly further network payload to its destination.
Click to show internal directories.
Click to hide internal directories.