mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
comments
This commit is contained in:
parent
3aa5102036
commit
21bcf64f0f
@ -38,6 +38,7 @@ type Space interface {
|
||||
}
|
||||
|
||||
const (
|
||||
// SpaceInitializing is an event to be fired when Space is being initialized.
|
||||
SpaceInitializing event.Event = iota
|
||||
)
|
||||
|
||||
@ -47,6 +48,7 @@ type spaceImpl struct {
|
||||
initialized bool
|
||||
}
|
||||
|
||||
// NewSpace creates a new Space.
|
||||
func NewSpace() Space {
|
||||
return &spaceImpl{
|
||||
cache: make(map[reflect.Type]Application),
|
||||
|
Loading…
Reference in New Issue
Block a user