blubber

package module
v0.0.0-...-ab84736 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const IPv4 ipVersion = 4
View Source
const IPv6 ipVersion = 6
View Source
const NoIP ipVersion = 0

Variables

This section is empty.

Functions

This section is empty.

Types

type Blubber

type Blubber struct {
	ProviderList []Provider
}

func NewBlubber

func NewBlubber() *Blubber

func (*Blubber) LoadProvidersFromFile

func (bl *Blubber) LoadProvidersFromFile(file string) error

func (*Blubber) MakeRequest

func (bl *Blubber) MakeRequest(target string, Nworkers int)

type Provider

type Provider struct {
	Hostname     string
	Public       bool
	ResponseList []Response
}

type Response

type Response struct {
	Addr        net.IP
	Description string
	Score       Score
}

type Score

type Score struct {
	OpenRelay   int
	OpenProxy   int
	Compromised int
	Spam        int
	Reputation  int
	Other       int
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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