assets

package
v0.300.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ISO8601 = "2006-01-02"

ISO8601 is the date format used by date input widgets (YYYY-MM-DD).

Variables

View Source
var DefaultCookieName string

DefaultCookieName holds the default JaWS cookie name. It will be generated from the executable name, or "jaws" if that fails.

View Source
var JavascriptText []byte

JavascriptText is the source code for the client-side JaWS Javascript library.

View Source
var JawsCSS []byte

Functions

func JawsKeyAppend

func JawsKeyAppend(b []byte, jawsKey uint64) []byte

JawsKeyAppend appends the JaWS key as a string to the buffer.

func JawsKeyString

func JawsKeyString(jawsKey uint64) string

JawsKeyString returns the string to be used for the given JaWS key.

func JawsKeyValue

func JawsKeyValue(jawsKey string) uint64

JawsKeyValue parses a key string (as returned JawsKeyString) into a uint64.

func MakeCookieName

func MakeCookieName(exename string) (cookie string)

MakeCookieName creates a cookie-safe name from an executable path.

func PreloadHTML

func PreloadHTML(urls ...*url.URL) (htmlcode, faviconurl string)

PreloadHTML returns HTML code to load the given resources efficiently.

Types

This section is empty.

Jump to

Keyboard shortcuts

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