rocketproxies

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Activate

func Activate(apiKey, ip, username string) (bool, error)

func ChangeIp

func ChangeIp(apiKey, ip string) (bool, error)

func ValidateIp

func ValidateIp(ip string) bool

Types

type IPStats

type IPStats struct {
	TotalRequests int
}

func GetStats

func GetStats(ip string) (IPStats, error)

type StatsResponse

type StatsResponse struct {
	Message struct {
		TotalRequests int `json:"total_requests"`
	} `json:"message"`
	Error bool `json:"error"`
}

Jump to

Keyboard shortcuts

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