app

package
v1.1.2 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

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

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

func NewSpace

func NewSpace() *Space

func (*Space) Bind

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

func (*Space) DnsCache

func (this *Space) DnsCache() DnsCache

func (*Space) HasDnsCache

func (this *Space) HasDnsCache() bool

func (*Space) HasPacketDispatcher

func (this *Space) HasPacketDispatcher() bool

func (*Space) PacketDispatcher

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