Versions in this module Expand all Collapse all v1 v1.1.2 Mar 3, 2020 Changes in this version + const STHVersion0 + const STHVersion1 + type Handler struct + func NewHandler(s *Storage, v SignatureVerifierMap) Handler + func (h *Handler) HandleSCTFeedback(rw http.ResponseWriter, req *http.Request) + func (h *Handler) HandleSTHPollination(rw http.ResponseWriter, req *http.Request) + type SCTFeedback struct + Feedback []SCTFeedbackEntry + type SCTFeedbackEntry struct + SCTData []string + X509Chain []string + type STHPollination struct + STHs []ct.SignedTreeHead + type STHVersion int + type SignatureVerifierMap map[ct.SHA256Hash]ct.SignatureVerifier + type Storage struct + func (s *Storage) AddSCTFeedback(feedback SCTFeedback) (err error) + func (s *Storage) AddSTHPollination(pollination STHPollination) error + func (s *Storage) Close() error + func (s *Storage) GetRandomSTHPollination(newerThan time.Time, limit int) (*STHPollination, error) + func (s *Storage) Open(dbPath string) error