API reference

The package is split the way Tessera is split into Go packages, with names translated mechanically: NewAppender is newAppender. Each page lists an entry point’s exports with the first sentence of their doc comments, as pkg.go.dev does for Go.

ImportGo counterpartContents
webtessera tessera Appender, options, publication awaiter, antispam, witnessing, migration
webtessera/api tessera/api Contains the tiles definitions from the tlog-tiles API.
webtessera/api/layout tessera/api/layout Contains routines for specifying the path layout of Tessera logs, which is really to say that it provides functions to calculate paths used by the tlog-tiles API.
webtessera/client tessera/client Fetchers, proof building, entry streaming, log state tracking
webtessera/fsck tessera/fsck Whole-log verification
webtessera/ctonly tessera/ctonly Static CT API entries
webtessera/merkle/rfc6962 transparency-dev/merkle/rfc6962 Provides hashing functionality according to RFC6962.
webtessera/merkle/compact transparency-dev/merkle/compact Provides compact Merkle tree data structures.
webtessera/merkle/proof transparency-dev/merkle/proof Contains helpers for constructing log Merkle tree proofs.
webtessera/note golang.org/x/mod/sumdb/note Signed notes, signers and verifiers
webtessera/formats/log transparency-dev/formats/log Checkpoints
webtessera/formats/proof transparency-dev/formats/proof C2SP tlog-proof encoding
webtessera/storage/objectstore tessera/storage/posix The storage engine, on a six-method key/value contract
webtessera/storage/memory none Keeps a Tessera log in memory: the browser's counterpart of the POSIX driver, and the reference backend for the ObjectStore driver.
webtessera/storage/indexeddb none Keeps a Tessera log in an IndexedDB database, so that a browser tab, worker or service worker can run a log of its own.
webtessera/storage/sqlite none The SQLite backend and one adapter per engine
webtessera/http none Serves a log over the tlog-tiles HTTP API, as a fetch-style handler
webtessera/witness none A tlog-witness server, the other side of the witnessing in webtessera
webtessera/mirror tessera/cmd/experimental/mirror Copies a log into S3-compatible storage or any ObjectStore
webtessera/server none openServerLog, importLogKey, receipts; refuses to run in browsers
webtessera/browser none openBrowserLog, device keys, receipts
webtessera/testonly tessera/testonly An in-memory test log for your own tests

The same map, with the additions that have no Go counterpart marked, is part of the ported API guide.