Versions in this module Expand all Collapse all v1 v1.0.1 Nov 17, 2023 Changes in this version + type Opts struct + DB *sql.DB + KnownLogs map[string]ct.SignatureVerifier + PrivKey string + type Witness struct + Logs map[string]ct.SignatureVerifier + func New(wo Opts) (*Witness, error) + func (w *Witness) GetLogs() ([]string, error) + func (w *Witness) GetSTH(logID string) ([]byte, error) + func (w *Witness) Update(ctx context.Context, logID string, nextRaw []byte, pf [][]byte) ([]byte, error)