webserver

package
v0.0.0-...-19239a5 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: EUPL-1.2 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func NewApp

func NewApp() *App

func (*App) Run

func (a *App) Run()

type UiHandler

type UiHandler struct {
	StaticPath string
	// contains filtered or unexported fields
}

func NewUiHandler

func NewUiHandler(staticPath, indexPath string, reactAppConfig config.Urls) UiHandler

func (UiHandler) ServeHTTP

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

Let client do the routing. If static file does not exist on requested path return file on IndexPath

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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