Documentation
¶
Index ¶
- type App
- func (a *App) RunCleanIP(ctx context.Context, count int) error
- func (a *App) RunConnect(ctx context.Context, opts ConnectOptions) error
- func (a *App) RunDisconnect() error
- func (a *App) RunList(ctx context.Context, country, protocol string, systemProxy bool) error
- func (a *App) RunStatus() error
- func (a *App) RunTest(ctx context.Context, batchSize int, country, protocol string) error
- type ConnectOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
App manages command workflows
func (*App) RunCleanIP ¶
RunCleanIP scans Cloudflare clean IPs
func (*App) RunConnect ¶
func (a *App) RunConnect(ctx context.Context, opts ConnectOptions) error
RunConnect handles automatic or filtered fast-pass connection or manual config link
func (*App) RunDisconnect ¶
RunDisconnect stops any active session and restores proxy/DNS
Click to show internal directories.
Click to hide internal directories.