internal/web/const-var.go
package web
import (
"embed"
"github.com/aceberg/miniboard/internal/auth"
"github.com/aceberg/miniboard/internal/models"
)
var (
authConf auth.Conf
// AppConfig - config for Web Gui
AppConfig models.Conf
// AllLinks - all links
AllLinks models.Links
// UptimeMon - monitoring data
UptimeMon []models.MonData
// NewUptimeMon - not added to DB yet
NewUptimeMon []models.MonData
)
// TemplHTML - html templates
//
//go:embed templates/*
var TemplHTML embed.FS
// TemplPath - path to html templates
const TemplPath = "templates/"
// // TemplPath - path to html templates
// const TemplPath = "../../internal/web/templates/"