Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SpaceInitializing is an event to be fired when Space is being initialized. SpaceInitializing event.Event = iota )
Variables ¶
This section is empty.
Functions ¶
func AddApplicationToSpace ¶
Types ¶
type Application ¶ added in v1.13.1
type Application interface { Interface() interface{} Start() error Close() }
func CreateAppFromConfig ¶
func CreateAppFromConfig(ctx context.Context, config interface{}) (Application, error)
type Space ¶ added in v1.1.1
type Space interface { event.Registry GetApplication(appInterface interface{}) Application AddApplication(application Application) error Initialize() error Start() error Close() }
A Space contains all apps that may be available in a V2Ray runtime.
func SpaceFromContext ¶
Click to show internal directories.
Click to hide internal directories.