models

package
v0.0.66 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrontEndData added in v0.0.8

type FrontEndData struct {
	AdminHtmlPage FrontEndFileData
	AdminJs       FrontEndFileData
	ApiJs         FrontEndFileData
	ArgonJs       FrontEndFileData
	ArgonWasm     FrontEndFileData
	BppJs         FrontEndFileData
	CssStyles     FrontEndFileData
	FavIcon       FrontEndFileData
	IndexHtmlPage FrontEndFileData
	LoaderScript  FrontEndFileData
}

FrontEndData is auxiliary data for front end.

type FrontEndFileData added in v0.0.8

type FrontEndFileData struct {
	UrlPath     cm.Path
	FilePath    cm.Path
	ContentType string
	CachedFile  []byte
}

FrontEndFileData is auxiliary data for a front end static file.

func NewFrontEndFileData added in v0.0.8

func NewFrontEndFileData(frontEndPath cm.Path, fileName cm.Path, contentType string, frontendAssetsFolder cm.Path) (fefd FrontEndFileData, err error)

type Settings added in v0.0.13

type Settings struct {
	Version                   base2.Count `json:"version"`
	ProductVersion            base2.Text  `json:"productVersion"`
	SiteName                  base2.Text  `json:"siteName"`
	SiteDomain                base2.Text  `json:"siteDomain"`
	CaptchaFolder             cm.Path     `json:"captchaFolder"`
	SessionMaxDuration        base2.Count `json:"sessionMaxDuration"`
	MessageEditTime           base2.Count `json:"messageEditTime"`
	PageSize                  base2.Count `json:"pageSize"`
	ApiFolder                 cm.Path     `json:"apiFolder"`
	PublicSettingsFileName    cm.Path     `json:"publicSettingsFileName"`
	IsFrontEndEnabled         base2.Flag  `json:"isFrontEndEnabled"`
	FrontEndStaticFilesFolder cm.Path     `json:"frontEndStaticFilesFolder"`
	NotificationCountLimit    base2.Count `json:"notificationCountLimit"`
}

Jump to

Keyboard shortcuts

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