storage

package
v0.0.0-...-6899a59 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 4

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 ProxyUpdate

func ProxyUpdate(ip *models.IP)

ProxyUpdate .

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