html

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT Imports: 2 Imported by: 6

Documentation

Index

Constants

View Source
const (
	Mozilla         = "Mozilla"
	UserAgent       = "User-Agent"
	Referer         = "Referer"
	Authorization   = "Authorization"
	Bearer          = "Bearer"
	Basic           = "Basic"
	Accept          = "Accept"
	AcceptLanguage  = "Accept-Language"
	ContentEncoding = "Content-Encoding"
	ContentLength   = "Content-Length"
	ContentType     = "Content-Type"
	XForwardedFor   = "X-Forwarded-For"
	XHost           = "X-Host"

	ApplicationForm  = "application/x-www-form-urlencoded"
	ApplicationOctet = "application/octet-stream"
	ApplicationJSON  = "application/json"
)
View Source
const (
	H1       = "h1"
	H2       = "h2"
	H3       = "h3"
	SPAN     = "span"
	CHECKBOX = "checkbox"

	STYLE  = "style"
	WIDTH  = "width"
	HEIGHT = "height"

	BACKGROUND_COLOR = "background-color"

	COLOR = "color"
)
View Source
const (
	DARK   = "dark"
	LIGHT  = "light"
	WHITE  = "white"
	BLACK  = "black"
	SILVER = "silver"

	PROJECT = "project"
	CONTENT = "content"
	PROFILE = "profile"
	DISPLAY = "display"

	VIEW    = "view"
	TEXT    = "text"
	BUTTON  = "button"
	INPUT   = "input"
	VALUE   = "value"
	OUTPUT  = "output"
	LAYOUT  = "layout"
	RESIZE  = "resize"
	REFRESH = "refresh"
	FILTER  = "filter"
)
View Source
const (
	FLOAT  = "float"
	CHROME = "chrome"

	TEXT_PLAIN = "text/plain"
)
View Source
const (
	GetLocation      = "getLocation"
	ConnectWifi      = "ConnectWifi"
	GetClipboardData = "getClipboardData"
	ScanQRCode       = "scanQRCode"
	ChooseImage      = "chooseImage"
	Record1          = "record1"
	Record2          = "record2"
)

Variables

This section is empty.

Functions

func Format added in v1.8.1

func Format(tag string, inner string, arg ...string) string

func FormatA added in v1.8.3

func FormatA(inner string, arg ...string) string

func FormatDanger added in v1.8.1

func FormatDanger(value string) string

func IsAudio added in v1.6.1

func IsAudio(name, mime string) bool

func IsImage added in v1.6.1

func IsImage(name, mime string) bool

func IsVideo added in v1.6.1

func IsVideo(name, mime string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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