sitepages

package
v1.169.5 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2026 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package sitepages assembles, from the platform, the application endpoint server a site environment's hosts run their application's endpoints through, and who an environment's tile is drawn as (#2747). The site gateway's own address and the tile worker's page both run endpoints through Over, so a tile's page reaches the endpoints exactly as a visitor's browser does; it is a package of its own because internal/httpserver/sitehttp is at its size budget.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForTiles

func ForTiles(p *platform.Platform) *sitegw.Pages

ForTiles is the server a site tile's page runs its endpoints through, the one a site's own address runs them through; nil where the deployment serves no sites, has no endpoint handler or no portal address.

func Over

func Over(p *platform.Platform, rt *sitewire.Runtime, portal *url.URL) *sitegw.Pages

Over is the application endpoint server of a deployment that has an endpoint handler, given its sites runtime and portal address.

func TileOwner

func TileOwner(p *platform.Platform) tilepage.Owner

TileOwner resolves the person a site's owner address names when its tile is drawn: the subject and roles the directory last recorded for them, the persona those roles resolve to in the live registry, and whether that is the administrator persona. Nil, drawing for nobody, for a person the directory does not hold or has never seen sign in, and for one whose roles resolve to no persona; nothing about the owner is stored for the draw.

Types

This section is empty.

Jump to

Keyboard shortcuts

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