Documentation ¶
Index ¶
- Constants
- Variables
- type XKeeper
- type XRunner
- func (that *XRunner) CtrlServer()
- func (that *XRunner) CtrlShell()
- func (that *XRunner) GetGeoInfo() (fgeoip, fgeosite string)
- func (that *XRunner) HasGeoInfo() bool
- func (that *XRunner) PingXtray() bool
- func (that *XRunner) RegisterKeeper(keeper *exec.Cmd)
- func (that *XRunner) RegisterStarter(starter *exec.Cmd)
- func (that *XRunner) Restart(idx int) (result string)
- func (that *XRunner) Start()
- func (that *XRunner) Stop()
- func (that *XRunner) SwitchyOmega() (omegaPath string)
Constants ¶
View Source
const ( ExtraSocksName = "xtray_runner" KtrlSocksName = "xtray_ktrl" XtrayOK = "ok" )
View Source
const (
KeeperSocksName = "xtray_keeper"
)
Variables ¶
View Source
var StopChan = make(chan struct{})
Functions ¶
This section is empty.
Types ¶
type XRunner ¶
type XRunner struct { Client *client.XClient Verifier *proxy.Verifier XKeeper *XKeeper Conf *conf.Conf Cron *cron.Cron ExtraSocks string KtrlSocks string Ktrl *goktrl.Ktrl // contains filtered or unexported fields }
func NewXRunner ¶
func (*XRunner) CtrlServer ¶
func (that *XRunner) CtrlServer()
func (*XRunner) GetGeoInfo ¶
func (*XRunner) HasGeoInfo ¶ added in v1.0.6
func (*XRunner) RegisterKeeper ¶
func (*XRunner) RegisterStarter ¶
func (*XRunner) SwitchyOmega ¶
Click to show internal directories.
Click to hide internal directories.