service

package
v0.7.6 Latest Latest
Warning

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

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

Documentation

Overview

Package service is the exercise's toy FilesService. It's transport-neutral: the wasm main serves it from a Web Worker through wasmhost, and the test serves it natively through wasmhost.Host.Do, both over the same fs.FS of mounted files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(root fs.FS) http.Handler

Handler serves FilesService over root, which the wasm host fills from the page's mounts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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