Documentation
¶
Index ¶
- func New(c *conf.CoreConfig) (vCore.Core, error)
- type DNSConfig
- type UserMap
- 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, _ *panel.NodeInfo) error
- func (c *Xray) GetUserManager(tag string) (proxy.UserManager, error)
- func (x *Xray) GetUserTrafficSlice(tag string, reset bool) ([]panel.UserTraffic, error)
- 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) GetUserTrafficSlice ¶
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.