spa

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: MIT Imports: 12 Imported by: 0

README

spa

Simple Go handler for single page apps

Documentation

Overview

Package spa implements a tiny little single-page app HTTP handler

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(dir string) (http.Handler, error)

NewHandler creates a new http.Handler that serves out of dir

Types

This section is empty.

Jump to

Keyboard shortcuts

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