dashboard

package
v0.0.0-...-3834a52 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package dashboard contains the web ui for reflow, for the static files see Package static

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WebDashboardModList

func WebDashboardModList(w http.ResponseWriter, _ *http.Request)

WebDashboardModList is the page handler for the mod list

func WebDashboardRoot

func WebDashboardRoot(w http.ResponseWriter, _ *http.Request)

WebDashboardRoot is the page handler for the mod list

Types

type CompiledMod

type CompiledMod struct {
	Mod         models.Mod
	ModVersions []models.ModVersion
}

type ModPageData

type ModPageData struct {
	PageTitle string
	ModCount  int
	Mods      []CompiledMod
}

Jump to

Keyboard shortcuts

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