dispatcher

package
v2.25.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 2, 2017 License: MIT Imports: 7 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 {
	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 {
}

func (*SessionConfig) Descriptor

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

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