frontend

package
v0.0.0-...-4152e03 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TMPLPARSE = "web/template/*.html"
	JSONAPI   = "web/api/out.json"
)

Variables

This section is empty.

Functions

func About

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

About:

func Api

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

func FindRoom

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

FindRoom:

func Map

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

Map:

func NavBar() []string

NavBar: w

func Schedule

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

Schedule:

Types

type InfoBlock

type InfoBlock struct {
	Building string `json:"building"`
	Num      string `json:"num"`
	Abbrev   string `json:"abbrev"`
}

func JsonInfo

func JsonInfo() []InfoBlock

JsonInfo:

type Room

type Room struct {
	Room  string
	Times []string
}

Jump to

Keyboard shortcuts

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