thumbwire

package
v1.133.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package thumbwire assembles the tile worker for the HTTP composition root (#1787): the headless renderer the worker draws in, the client a document's public references are fetched with, and the stores and buckets it claims from and records to.

It takes the assembled mux as well as the platform, because the page a tile is drawn from loads the viewer's chunks and a document's references from the platform's own routes, answered in-process.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(p *platform.Platform, routes http.Handler) *thumbworker.Worker

Build returns the tile worker, or nil when there is nothing to draw: no platform, tiles turned off, no tile page in this build, or no asset store that can hand out work. A nil worker's Start and Stop do nothing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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