webui

package
v0.0.0-...-71330bb Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: EUPL-1.2 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(c *config.Config, dbEnv *database.DBEnv)

Types

type LoginPage

type LoginPage struct{} // no variables to pass for now, but a previous error message would be good

type RootPage

type RootPage struct {
	User *model.User
}

The page template variable

type SpecificStopPage

type SpecificStopPage struct {
	User       *model.User
	Stop       string
	Departures []model.Departure
}

The page template variable

type StopPage

type StopPage struct {
	User  *model.User
	Stops []model.Stop
}

The page template variable

Jump to

Keyboard shortcuts

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