service

package
v0.7.44 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 8 Imported by: 1 module, 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 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