Skip to content
moqsien edited this page Dec 28, 2023 · 11 revisions

This command provides subcommands for the management of NeoBox's verifier.

So, what is a verifier?

Actually, the verifier is sepcially designed for Free VPNs/Proxies. It will use a free VPN/Proxy to send request to google.com, and then decide whether the VPN/Proxy is usable.

To achieve faster completion, the verifier uses as many goroutines as possible. So, it is you decision to enable it or not, just in case this may cause high CPU/Memory usage.

moqsien in [data/projects/go/src/neobox/example]
>>> vf -h                                                               11:06:37
Verifier related CLIs.

Usage:
   vf [flags]
   vf [command]

Available Commands:
  cron        Set cron time for verifier.
  ping        Get status of the verifier.
  start       Start the verifier manually.
  toggle      Toggle verfier status.

Flags:
  -h, --help   help for vf

Use " vf [command] --help" for more information about a command.
  • cron: Sets an time interval(in hour) for triggering off the verfier.
moqsien in [data/projects/go/src/neobox/example]
>>> vf cron -h                                                          11:26:24
Example: vf cron <hours:Int>.

Usage:
   vf cron [flags]

Flags:
  -h, --help   help for cron
  • ping: To see whether the verifier is running.

  • start: Manually starts the verifier.

  • toggle: Toggles the status of the verifier. If the status if "enabled", then the verifier will be triggered off according to the time interval set by "cron".

Clone this wiki locally