storage

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

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

Go to latest
Published: Jul 13, 2018 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIP

func CheckIP(ip *models.IP) bool

CheckIP is to check the ip work or not

func CheckProxy

func CheckProxy(ip *models.IP)

CheckProxy .

func CheckProxyDB

func CheckProxyDB()

CheckProxyDB to check the ip in DB

func ProxyAdd

func ProxyAdd(ip *models.IP)

ProxyAdd .

func ProxyDel

func ProxyDel(ip *models.IP)

ProxyDel .

func ProxyFind

func ProxyFind(value string) (ip *models.IP)

ProxyFind .

func ProxyRandom

func ProxyRandom() (ip *models.IP)

ProxyRandom .

func RandInt

func RandInt(min, max int) int

get the random numer in [min, max]

func RandInt64

func RandInt64(min, max int64) int64

get the random number in [min, max]

Types

This section is empty.

Jump to

Keyboard shortcuts

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