crtsh

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 10 Imported by: 2

README

crt-sh

The API client of https://crt.sh/

Documentation

Index

Constants

View Source
const BASE_URL = "https://crt.sh/atom"
View Source
const (
	EXCLUDE_EXPIRED = "expired"
)

Variables

View Source
var (
	ErrorParseRssUrl      = errors.Errorf("failed to parse Parse RSS URL")
	ErrorParseIdUrl       = errors.Errorf("failed to parse Parse ID URL")
	ErrorParseCertificate = errors.Errorf("failed to parse Certificate")
	ErrorParsePem         = errors.Errorf("failed to parse PEM")
	ErrorParseHtml        = errors.Errorf("failed to parse HTML")
	ErrorParseInt         = errors.Errorf("failed to parse Int")
	ErrorFetchRss         = errors.Errorf("failed to fetch RSS feed")
)

Functions

This section is empty.

Types

type CertificateEntry

type CertificateEntry struct {
	ID          int
	Certificate *x509.Certificate
}

func Fetch

func Fetch(domain, exclude string) ([]CertificateEntry, error)

Directories

Path Synopsis
example module

Jump to

Keyboard shortcuts

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