storage

package
v0.0.0-...-f6e951e Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

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

RandInt get the random numer in [min, max]

func RandInt64

func RandInt64(min, max int64) int64

RandInt64 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