dispatcher

package
v2.15.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: MIT Imports: 6 Imported by: 43

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Settings *SessionConfig `protobuf:"bytes,1,opt,name=settings" json:"settings,omitempty"`
}

func (*Config) Descriptor

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

func (*Config) GetSettings

func (m *Config) GetSettings() *SessionConfig

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

type Interface

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

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

func FromSpace

func FromSpace(space app.Space) Interface

type SessionConfig

type SessionConfig struct {
	AllowPassiveConnection bool `protobuf:"varint,1,opt,name=allow_passive_connection,json=allowPassiveConnection" json:"allow_passive_connection,omitempty"`
}

func (*SessionConfig) Descriptor

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

func (*SessionConfig) GetAllowPassiveConnection

func (m *SessionConfig) GetAllowPassiveConnection() bool

func (*SessionConfig) ProtoMessage

func (*SessionConfig) ProtoMessage()

func (*SessionConfig) Reset

func (m *SessionConfig) Reset()

func (*SessionConfig) String

func (m *SessionConfig) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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