Documentation
¶
Index ¶
- func GetCustomConfig(serverconfig *panel.ServerConfigResponse) (*dns.Config, []*core.OutboundHandlerConfig, *router.Config, error)
- type AddUsersParams
- type UserMap
- type XrayCore
- func (v *XrayCore) AddNode(tag string, info *panel.NodeInfo) error
- func (v *XrayCore) AddUsers(p *AddUsersParams) (added int, err error)
- func (v *XrayCore) Close() error
- func (v *XrayCore) DelNode(tag string) error
- func (vc *XrayCore) DelUsers(users []panel.UserInfo, tag string, _ *panel.NodeInfo) error
- func (v *XrayCore) GetUserManager(tag string) (proxy.UserManager, error)
- func (vc *XrayCore) GetUserTrafficSlice(tag string, mintraffic int) ([]panel.UserTraffic, error)
- func (c *XrayCore) ServerConfigMonitor() (err error)
- func (v *XrayCore) Start(serverconfig *panel.ServerConfigResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomConfig ¶
func GetCustomConfig(serverconfig *panel.ServerConfigResponse) (*dns.Config, []*core.OutboundHandlerConfig, *router.Config, error)
Types ¶
type AddUsersParams ¶
type XrayCore ¶
type XrayCore struct {
Config *conf.Conf
Client *panel.ClientV2
ReloadCh chan struct{}
Server *core.Instance
// contains filtered or unexported fields
}
func (*XrayCore) GetUserManager ¶
func (v *XrayCore) GetUserManager(tag string) (proxy.UserManager, error)
func (*XrayCore) GetUserTrafficSlice ¶
func (*XrayCore) ServerConfigMonitor ¶
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.