Versions in this module Expand all Collapse all v1 v1.1.1 Feb 22, 2024 Changes in this version + func New(c *conf.CoreConfig) (vCore.Core, error) + type DNSConfig struct + Servers []interface{} + Tag string + type Xray struct + Server *core.Instance + func (c *Xray) AddNode(tag string, info *panel.NodeInfo, config *conf.Options) error + func (c *Xray) AddUsers(p *vCore.AddUsersParams) (added int, err error) + func (c *Xray) Close() error + func (c *Xray) DelNode(tag string) error + func (c *Xray) DelUsers(users []panel.UserInfo, tag string) error + func (c *Xray) GetUserManager(tag string) (proxy.UserManager, error) + func (c *Xray) GetUserTraffic(tag, uuid string, reset bool) (up int64, down int64) + func (c *Xray) Protocols() []string + func (c *Xray) Start() error + func (c *Xray) Type() string