web

package
v0.0.0-...-041f5a1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServePage

func ServePage()

ServePage hosts a server based on options from the config file

func UpdateWebData

func UpdateWebData()

UpdateWebData - Update the table each time new data is available

Types

type ViewData

type ViewData struct {
	Checks  []checks
	Refresh int
	Title   string
	NavBar  string
}

ViewData is used to replace variables in the HTML templates

Jump to

Keyboard shortcuts

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