Help us shape the future of Go! Take the 2026 Go Developer Survey

web

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package web embeds the browser assets shared by the Go and Rust servers.

Index

Constants

This section is empty.

Variables

View Source
var FGeoDemo []byte

FGeoDemo is the self-contained forward geocoding demo page served by both servers at GET /fgeocode/demo.

The Rust server embeds a copy at server_rs/web/fgeocode-demo.html, because its Docker build context (server_rs/) cannot reach this file; keep the two in sync (the Rust test demo_page_copy_matches_shared_page enforces it).

View Source
var RGeoDemo []byte

RGeoDemo is the self-contained reverse geocoding demo page served by both servers at GET /rgeocode/demo: an interactive map of the cache points around a clicked location, via GET /rgeocode/points.

The Rust server embeds a copy at server_rs/web/rgeocode-demo.html for the same Docker build context reason as FGeoDemo; keep the two in sync (the Rust test rgeocode_demo_page_copy_matches_shared_page enforces it).

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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