ui

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChartJSHandler

func ChartJSHandler(w http.ResponseWriter, r *http.Request)

ChartJSHandler is the handler for the Chart.js library

func FetcherHandler

func FetcherHandler(w http.ResponseWriter, r *http.Request)

FetcherHandler is the handler for the fetcher/proxy.

func Handler

func Handler(w http.ResponseWriter, r *http.Request)

Handler is the UI handler creating the web forms and processing them.

func LogRequest

func LogRequest(r *http.Request)

LogRequest logs the incoming request, including headers when loglevel is verbose

func LogoHandler

func LogoHandler(w http.ResponseWriter, r *http.Request)

LogoHandler is the handler for the logo

func Serve

func Serve(port int, debugpath string, uipath string)

Serve starts the fhttp.Serve() plus the UI server on the given port and paths (empty disables the feature). uiPath should end with / (be a 'directory' path)

Types

This section is empty.

Jump to

Keyboard shortcuts

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