You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray-core/app/space.go

20 lines
444 B

package app
// Context of a function call from proxy to app.
type Context interface {
CallerTag() string
}
// A Space contains all apps that may be available in a V2Ray runtime.
// Caller must check the availability of an app by calling HasXXX before getting its instance.
type Space interface {
HasPacketDispatcher() bool
PacketDispatcher() PacketDispatcher
9 years ago
HasDnsCache() bool
DnsCache() DnsCache
9 years ago
HasPubsub() bool
Pubsub() Pubsub
}