monitor

package module
v0.0.0-...-f9aec7a Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultQuery = api.Query{
	IncludeSubdomains: true,
	MatchWildcards:    true,
	After:             "",
}

Functions

This section is empty.

Types

type Callback

type Callback func([]x509.Certificate, error)

type Monitor

type Monitor struct {
	Domains string
	Api     *api.SSLMateSearchAPI
	Query   *api.Query
}

func Default

func Default(domain string) *Monitor

func New

func New(base *api.Query, api *api.SSLMateSearchAPI) *Monitor

func (*Monitor) Next

func (monitor *Monitor) Next() ([]x509.Certificate, *api.Index, error)

func (*Monitor) Run

func (monitor *Monitor) Run(callback Callback)

type Monitors

type Monitors []Monitor

func (Monitors) Run

func (monitors Monitors) Run(callback Callback)

Jump to

Keyboard shortcuts

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