hideMyAssParsing

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2017 License: MIT Imports: 7 Imported by: 0

README

Hide My Ass Proxy Parser

GoDoc

Parse the Hide My Ass proxies website with GO

Usage

import "github.com/veksa/hide-my-ass-parsing"

Get list of proxies and test it. For example:

proxies := hideMyAssParsing.GetProxies()

successCallback := func(proxy Proxy) { activateProxy(proxy) }
errorCallback := func(proxy Proxy) { deactivateProxy(proxy) }

hideMyAssParsing.TestProxies(proxies, successCallback, errorCallback)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestProxies

func TestProxies(proxies []Proxy, successFn successCallback, errorFn errorCallback)

Types

type Proxy

type Proxy struct {
	Ip      string
	Port    string
	Country string
	Type    string
	Anon    string
}

func GetProxies

func GetProxies() []Proxy

Jump to

Keyboard shortcuts

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