package sthgetter

import "github.com/google/monologue/sthgetter"

Package sthgetter periodically gets an STH from a Log, checks that each one meets per-STH requirements defined in RFC 6962, and stores them.

Index

Functions

func Run

Run runs an STH Getter, which periodically gets an STH from a Log, checks that each one meets per-STH requirements defined in RFC 6962, and stores them.

Types

type APICallSTHWriter

type APICallSTHWriter interface {
	storage.APICallWriter
	storage.STHWriter
}

APICallSTHWriter represents a type that can store API Calls and store STHs.

type OldTimestampError

type OldTimestampError struct {
	Err error
}

OldTimestampError indicates that an STH was older than the MMD of the Log.

func (*OldTimestampError) Error

func (e *OldTimestampError) Error() string

Source Files

sthgetter.go

Version
v0.0.0-20230315160450-1dc62842925e (latest)
Published
Mar 15, 2023
Platform
linux/amd64
Imports
12 packages
Last checked
1 day ago

Tools for package owners.