Discover Packages
github.com/jivesearch/jivesearch
instant
status
package
Version:
v0.0.0-...-c5d5a31
Opens a new window with list of versions in this module.
Published: Nov 21, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package status checks if a website is down
View Source
const IsItUpProvider provider = "Is it up?"
IsItUpProvider indicates the source is isitup.org
FixDomain appends .com to a string if there is no tld
Fetcher implements methods to check for checking a website status
IsItUp holds settings for the isitup.org API
Fetch retrieves security breaches from haveibeenpwned.com
type Response struct {
Domain string `json:"domain"`
Port int `json:"port"`
Status int `json:"status_code"`
IP string `json:"response_ip"`
Code int `json:"response_code"`
Time float64 `json:"response_time"`
Provider provider
}
Response is a status response
Source Files
¶
Click to show internal directories.
Click to hide internal directories.