Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorMissingApplication = errors.New("App: Failed to found one or more applications.")
)
Functions ¶
This section is empty.
Types ¶
type Application ¶ added in v1.13.1
type Application interface { common.Releasable }
type ApplicationInitializer ¶ added in v1.13.1
type ApplicationInitializer func() error
type Context ¶ added in v1.1.4
type Context interface {
CallerTag() string
}
Context of a function call from proxy to app.
type Space ¶ added in v1.1.1
type Space interface { Initialize() error InitializeApplication(ApplicationInitializer) HasApp(ID) bool GetApp(ID) Application BindApp(ID, Application) }
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.
Click to show internal directories.
Click to hide internal directories.