cmd

package
v0.0.0-...-3968b19 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Run = cli.Command{
	Name:        "web",
	Usage:       "This command starts all free proxy web service",
	Description: `Start Free Proxy Service`,
	Action:      WebRun,
	Flags: []cli.Flag{
		stringFlag("config, c", "", "Custom configuration file path"),
	},
}

Functions

func Collect

func Collect(db *geoip2.Reader,
	quit chan bool,
	ch chan []structs.Proxy,
	types []string,
	countries []string,
	ports []int,
	isVerbose bool)

func GetpublicIpAddr

func GetpublicIpAddr() (string, error)

func WebRun

func WebRun(c *cli.Context) error

Types

type HttpResponse

type HttpResponse struct {
	Origin string
}

Jump to

Keyboard shortcuts

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