srvassets

package
v0.0.0-...-642df0c Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Req: go 1.16 or later (embed.FS is N/A on Go 1.15 or lower)

Index

Constants

View Source
const (
	VERSION string = "r.20240114.2007"

	DEBUG bool = false
)
View Source
const (
	TAG_COMMENT_HEAD_JS_CSS string = "<!-- Head: Css / Js -->"
	TAG_BASE_HREF_START     string = `<base href="`
	TAG_BASE_HREF_END       string = `">`
	TAG_CSS_START           string = `<link rel="stylesheet" type="text/css" href="`
	TAG_CSS_END             string = `">`
	TAG_JS_START            string = `<script src="`
	TAG_JS_END              string = `"></script>`
)

Variables

This section is empty.

Functions

func HtmlServerFaviconTemplate

func HtmlServerFaviconTemplate(titleText string, headHtml string, bodyHtml string, favicon string) string

func HtmlServerTemplate

func HtmlServerTemplate(titleText string, headHtml string, bodyHtml string) string

func JsonAjaxFormReply

func JsonAjaxFormReply(status string, action string, title string, message string, isHtmlMessage bool, js_evcode string, redirect string, replace_div string, replace_html string, hide_form_on_success bool) string

func WebAssetsHttpHandler

func WebAssetsHttpHandler(w http.ResponseWriter, r *http.Request, cacheMode string) uint16

Types

This section is empty.

Jump to

Keyboard shortcuts

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