spa

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(router *mux.Router, config *configuration.Config)

Types

type SpaHandler

type SpaHandler struct {
	// contains filtered or unexported fields
}

func NewSpaHandler

func NewSpaHandler(config configuration.Config, staticPath string, indexPath string) *SpaHandler

func (*SpaHandler) ServeHTTP

func (h *SpaHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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