cmd

package
v0.0.0-...-099495b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Run = cli.Command{
	Name:        "run",
	Usage:       "This command run services",
	Description: `Start Station speed measurement Services`,
	Action:      RunRun,
	Flags: []cli.Flag{
		stringFlag("url, u", "", "Custom Configuration Url"),
	},
}
View Source
var Service = cli.Command{
	Name:        "service",
	Usage:       "This command starts services",
	Description: `Start Cloudflare IP Preference Services`,
	Action:      RunService,
	Flags: []cli.Flag{
		stringFlag("url, u", "", "Custom Configuration URL"),
		stringFlag("ipv4, v4", "", "Custom Configuration IPV4"),
		stringFlag("to_host, th", "no", "Custom Configuration Set Host yes|no|clean, default:no"),
		intFlag("max_tl, ml", 200, "Average delay upper limit; Only output IP with lower than the specified average delay, which can be matched with other upper / lower limits; (default 9999 MS)"),
	},
}

Functions

func RunRun

func RunRun(c *cli.Context) error

func RunService

func RunService(c *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL