Documentation ¶
Index ¶
- type Core
- func (p *Core) AddInbound(config *core.InboundHandlerConfig) error
- func (p *Core) AddOutbound(config *core.OutboundHandlerConfig) error
- func (p *Core) AddUsers(users []*protocol.User, tag string) error
- func (p *Core) Close()
- func (p *Core) GetUserManager(tag string) (proxy.UserManager, error)
- func (p *Core) GetUserTraffic(email string, reset bool) (up int64, down int64)
- func (p *Core) RemoveInbound(tag string) error
- func (p *Core) RemoveOutbound(tag string) error
- func (p *Core) RemoveUsers(users []string, tag string) error
- func (p *Core) Restart(v2bXConfig *conf.Conf) error
- func (p *Core) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
Core Structure
func (*Core) AddInbound ¶
func (p *Core) AddInbound(config *core.InboundHandlerConfig) error
func (*Core) AddOutbound ¶
func (p *Core) AddOutbound(config *core.OutboundHandlerConfig) error
func (*Core) GetUserManager ¶
func (p *Core) GetUserManager(tag string) (proxy.UserManager, error)
func (*Core) GetUserTraffic ¶
func (*Core) RemoveInbound ¶
func (*Core) RemoveOutbound ¶
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.