result

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertResult

type CertResult []Certificate

func (CertResult) CSV

func (r CertResult) CSV() ([]byte, error)

func (CertResult) JSON

func (r CertResult) JSON() ([]byte, error)

func (CertResult) Size

func (r CertResult) Size() int

func (CertResult) Table

func (r CertResult) Table() []byte

type Certificate

type Certificate struct {
	IssuerCaID     int       `json:"issuer_ca_id"`
	IssuerName     string    `json:"issuer_name"`
	CommonName     string    `json:"common_name"`
	NameValue      string    `json:"name_value"`
	ID             int       `json:"id"`
	EntryTimestamp time.Time `json:"entry_timestamp"`
	NotBefore      time.Time `json:"not_before"`
	NotAfter       time.Time `json:"not_after"`
	SerialNumber   string    `json:"serial_number"`
}

type QueryResult

type QueryResult interface {
	Table() []byte
	JSON() ([]byte, error)
	CSV() ([]byte, error)
	Size() int
}

type Subdomain

type Subdomain struct {
	Name string `json:"subdomain"`
}

type SubdomainResult

type SubdomainResult []Subdomain

func (SubdomainResult) CSV

func (s SubdomainResult) CSV() ([]byte, error)

func (SubdomainResult) JSON

func (s SubdomainResult) JSON() ([]byte, error)

func (SubdomainResult) Size

func (s SubdomainResult) Size() int

func (SubdomainResult) Table

func (s SubdomainResult) Table() []byte

Jump to

Keyboard shortcuts

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