Documentation ¶
Overview ¶
Package http contains private implementation details for the FirmwareTransparency witness.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Witness ¶
type Witness struct {
// contains filtered or unexported fields
}
Witness is the core state & handler implementation of the FT Witness
func NewWitness ¶
func NewWitness(ws WitnessStore, logURL string, logSigVerifier note.Verifier, pollInterval time.Duration) (*Witness, error)
NewWitness creates a new Witness.
func (*Witness) Poll ¶
Poll periodically polls the FT log for updating the witness checkpoint. It only returns on error (when it doesn't start its own polling thread)
func (*Witness) RegisterHandlers ¶
RegisterHandlers registers HTTP handlers for firmware transparency endpoints.
Click to show internal directories.
Click to hide internal directories.