Versions in this module Expand all Collapse all v1 v1.1.4 Dec 12, 2015 Changes in this version + type DnsCacheWithContext interface + Add func(contaxt app.Context, domain string, ip net.IP) + Get func(context app.Context, domain string) net.IP + type PacketDispatcherWithContext interface + DispatchToOutbound func(context app.Context, packet v2net.Packet) ray.InboundRay + type PubsubWithContext interface + Publish func(context app.Context, topic string, message app.PubsubMessage) + Subscribe func(context app.Context, topic string, handler app.TopicHandler) + type Space struct + func NewSpace(tag string, packetDispatcher PacketDispatcherWithContext, ...) *Space + func (this *Space) DnsCache() app.DnsCache + func (this *Space) HasDnsCache() bool + func (this *Space) HasPacketDispatcher() bool + func (this *Space) HasPubsub() bool + func (this *Space) PacketDispatcher() app.PacketDispatcher + func (this *Space) Pubsub() app.Pubsub