luci: Index | Files

package internal

import ""

Package internal is generated by

It contains all [*.css *.html *.js *.tmpl] files found in the package as byte arrays.


Package Files

assets.gen.go gen.go

func Assets Uses

func Assets() map[string]string

Assets returns a map of all assets.

func GetAsset Uses

func GetAsset(name string) []byte

GetAsset returns an asset by its name. Returns nil if no such asset exists.

func GetAssetSHA256 Uses

func GetAssetSHA256(name string) []byte

GetAssetSHA256 returns the asset checksum. Returns nil if no such asset exists.

func GetAssetString Uses

func GetAssetString(name string) string

GetAssetString is version of GetAsset that returns string instead of byte slice. Returns empty string if no such asset exists.

Package internal is imported by 1 packages. Updated 2021-01-23. Refresh now. Tools for package owners.