Documentation
¶
Index ¶
- func New(c *conf.CoreConfig) (vCore.Core, error)
- type Core
- func (c *Core) AddNode(tag string, info *panel.NodeInfo, config *conf.Options) error
- func (c *Core) AddUsers(p *vCore.AddUsersParams) (added int, err error)
- func (c *Core) Close() error
- func (c *Core) DelNode(tag string) error
- func (c *Core) DelUsers(users []panel.UserInfo, tag string) error
- func (c *Core) GetUserManager(tag string) (proxy.UserManager, error)
- func (c *Core) GetUserTraffic(tag, uuid string, reset bool) (up int64, down int64)
- func (c *Core) Protocols() []string
- func (c *Core) Start() error
- func (c *Core) Type() string
- type DNSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Core ¶
Core Structure
func (*Core) GetUserManager ¶
func (c *Core) GetUserManager(tag string) (proxy.UserManager, error)
func (*Core) GetUserTraffic ¶
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
Package app contains the third-party app used to replace the default app in xray-core
|
Package app contains the third-party app used to replace the default app in xray-core |
distro
|
|
Click to show internal directories.
Click to hide internal directories.