Documentation
¶
Index ¶
- func New(c *conf.CoreConfig) (vCore.Core, error)
- type DNSConfig
- type Xray
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DNSConfig ¶
type DNSConfig struct { Servers []interface{} `json:"servers"` Tag string `json:"tag"` }
type Xray ¶
Xray Structure
func (*Xray) GetUserManager ¶
func (c *Xray) GetUserManager(tag string) (proxy.UserManager, error)
func (*Xray) 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.