frontend

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: GPL-3.0, GPL-3.0-or-later Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IndexFS embed.FS
View Source
var IndexFile = "tmpl/index.html"

Functions

This section is empty.

Types

type Data

type Data struct {
	Title        string
	AccentColour string
	MaxBytes     int
	MaxItems     int
	TTL          string
	BaseAddress  string
	RandomPath   string
	Version      string
}

Data contains templating data inserted into the index page request

Jump to

Keyboard shortcuts

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