Versions in this module Expand all Collapse all v1 v1.4.1 May 30, 2023 Changes in this version + type AddUsersParams struct + Config *conf.ControllerConfig + NodeInfo *panel.NodeInfo + Tag string + UserInfo []panel.UserInfo + type Core struct + Server *core.Instance + func New(c *conf.Conf) *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