scraper

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const APIURL = "https://api.ssllabs.com/api/v3/analyze?host="

APIURL is the SSL Labs API url

Variables

View Source
var Grades = map[string]int{
	"A+":      1,
	"A-":      2,
	"A":       3,
	"B":       4,
	"C":       5,
	"D":       6,
	"E":       7,
	"F":       8,
	"T":       9,
	"M":       10,
	"Unknown": 11,
}

Grades options by SSL Labs

Functions

func GetDomainByNameAPI

func GetDomainByNameAPI(domainName string) (*models.Domain, []*models.Server, error)

GetDomainByNameAPI return domain and servers information by domain name

Types

This section is empty.

Jump to

Keyboard shortcuts

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