ct

package
v0.0.0-...-a2ecaeb Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const ENTRIES_PER_TILE = 1 << TILE_HEIGHT
View Source
const TILE_HEIGHT = 8

Variables

This section is empty.

Functions

func GetEntriesLauncher

func GetEntriesLauncher(ctx context.Context)

func LogConfigSyncer

func LogConfigSyncer(ctx context.Context)

func UpdateLogList

func UpdateLogList(newctlog map[int]*Log)

Types

type Log

type Log struct {
	Id                 int
	PublicKey          []byte
	PubKey             any
	KeyName            string
	SigVer             *ctgo.SignatureVerifier
	NoteVerifiers      note.Verifiers
	Url                string
	SubmissionUrl      string
	Type               string
	MMDInSeconds       int
	BatchSize          int64
	RequestsThrottle   *string
	RequestsConcurrent int
	TreeSize           int64
	LatestSTHTimestamp time.Time
	LatestUpdate       time.Time

	LatestStoredEntryID int64
	// contains filtered or unexported fields
}

func GetSTHs

func GetSTHs() []Log

Jump to

Keyboard shortcuts

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