Versions in this module Expand all Collapse all v0 v0.1.1 Mar 2, 2018 Changes in this version + var ErrNotMatchOrigin = errors.New("redirection does not match origin host") + var ErrTooManyRedirects = errors.New("too many redirects (10+)") + func VerifyHostname(c *tls.ConnectionState, host string) error + type CertName struct + CommonName string + Country string + Locality string + Organization string + Province string + StreetAddress string + type Crawler struct + Cnf CrawlerConfig + Log *log.Logger + Pool sempool.Pool + ResPool sempool.Pool + Results []*FetchResult + func (c *Crawler) Crawl() + func (c *Crawler) Fetch(res *FetchResult) + func (c *Crawler) Get(url string) (*CustomResponse, error) + func (c *Crawler) IsRemote(host string) bool + type CrawlerConfig struct + AllowInsecure bool + Assets bool + Delay time.Duration + Domains []*Domain + HTTPTimeout time.Duration + NoRemote bool + Threads int + type CustomClient struct + Host string + OriginURL *url.URL + ResultURL url.URL + URL string + type CustomResponse struct + Time *utils.TimerResult + URL *url.URL + type Domain struct + IP string + URL *url.URL + func (d *Domain) String() string + type FetchResult struct + Assets []*Resource + ResourceTime *utils.TimerResult + TotalTime *utils.TimerResult + func (r *FetchResult) String() string + type HostnameError struct + Certificate *x509.Certificate + Host string + func (h HostnameError) Error() string + type Resource struct + Error error + Request *Domain + Response Response + Time *utils.TimerResult + URL string + func (r *Resource) String() string + type Response struct + Body string + Code int + ContentLength int64 + Headers http.Header + Remote bool + TLS *TLSResponse + URL *url.URL + type ResponseCert struct + DNSNames []string + EmailAddresses []string + IPAddresses []net.IP + Issuer *CertName + NotAfter time.Time + NotBefore time.Time + Subject *CertName + Version int + type TLSResponse struct + HandshakeComplete bool + PeerCertificates []*ResponseCert + VerifiedChains [][]*ResponseCert v0.1.0-alpha.3 Oct 7, 2016 v0.1.0-alpha.2 Sep 27, 2016 v0.1.0-alpha.1 Sep 15, 2016