sorvor

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: MIT Imports: 5 Imported by: 0

README

sorvor

a zero configuration server for single page applications.

Features

  • SPA Routing: serves index.html for missing files or folder paths
  • Asset Pipeline: serves static assets with esbuild

Installation

If you have go installed, go get is the best way to install sorvor

go get github.com/osdevisnot/sorvor/...

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(root, index, build string) http.Handler

Handler Returns an http.Handler that serves a single page application from specified root directory...

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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