dispatcher

package
v2.22.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2017 License: MIT Imports: 7 Imported by: 0

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 {
	Dispatch(ctx context.Context, dest net.Destination) (ray.InboundRay, error)
}

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