app

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DnsCache added in v1.1.1

type DnsCache interface {
	Get(domain string) net.IP
	Add(domain string, ip net.IP)
}

type PacketDispatcher

type PacketDispatcher interface {
	DispatchToOutbound(packet v2net.Packet) ray.InboundRay
}

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

type Space added in v1.1.1

type Space struct {
	// contains filtered or unexported fields
}

func NewSpace added in v1.1.1

func NewSpace() *Space

func (*Space) Bind added in v1.1.1

func (this *Space) Bind(object interface{})

func (*Space) DnsCache added in v1.1.1

func (this *Space) DnsCache() DnsCache

func (*Space) HasDnsCache added in v1.1.1

func (this *Space) HasDnsCache() bool

func (*Space) HasPacketDispatcher added in v1.1.1

func (this *Space) HasPacketDispatcher() bool

func (*Space) PacketDispatcher added in v1.1.1

func (this *Space) PacketDispatcher() PacketDispatcher

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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