Documentation ¶
Index ¶
- type AddUsersParams
- type Core
- func (c *Core) AddNode(tag string, info *panel.NodeInfo, config *conf.ControllerConfig) error
- func (c *Core) AddOutbound(config *core.OutboundHandlerConfig) error
- func (c *Core) AddUsers(p *AddUsersParams) (added int, err error)
- func (c *Core) Close()
- func (c *Core) DelNode(tag string) error
- func (c *Core) GetUserManager(tag string) (proxy.UserManager, error)
- func (c *Core) GetUserTraffic(email string, reset bool) (up int64, down int64)
- func (c *Core) RemoveOutbound(tag string) error
- func (c *Core) RemoveUsers(users []string, tag string) error
- func (c *Core) Restart(AikoServerConfig *conf.Conf) error
- func (c *Core) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddUsersParams ¶
type Core ¶
Core Structure
func (*Core) AddOutbound ¶
func (c *Core) AddOutbound(config *core.OutboundHandlerConfig) error
func (*Core) GetUserManager ¶
func (c *Core) GetUserManager(tag string) (proxy.UserManager, error)
func (*Core) GetUserTraffic ¶
func (*Core) RemoveOutbound ¶
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.