monitor

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MPL-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, config *Config) error

Types

type Config

type Config struct {
	LogListSource       string
	StateDir            string
	StartAtEnd          bool
	WatchList           WatchList
	Verbose             bool
	SaveCerts           bool
	Script              string
	ScriptDir           string
	Email               []string
	Stdout              bool
	HealthCheckInterval time.Duration
}

type LogID

type LogID = ct.SHA256Hash

type WatchItem

type WatchItem struct {
	// contains filtered or unexported fields
}

func ParseWatchItem

func ParseWatchItem(str string) (WatchItem, error)

func (WatchItem) String

func (item WatchItem) String() string

type WatchList

type WatchList []WatchItem

func ReadWatchList

func ReadWatchList(reader io.Reader) (WatchList, error)

func (WatchList) Matches

func (list WatchList) Matches(identifiers *certspotter.Identifiers) (bool, WatchItem)

Jump to

Keyboard shortcuts

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