Documentation ¶
Overview ¶
Package lua is generated by go.chromium.org/luci/tools/cmd/assets.
It contains all [*.css *.gen.lua *.html *.js *.tmpl] files found in the package as byte arrays.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UpdateAccountsScript = redis.NewScript(-1, GetAssetString("update-accounts.gen.lua"))
UpdateAccountsScript is a redis.Script for 'update-accounts.lua'.
Prefer this to using the raw asset directly, because this has already calculated the script SHA1.
Functions ¶
func GetAssetSHA256 ¶
GetAssetSHA256 returns the asset checksum. Returns nil if no such asset exists.
func GetAssetString ¶
GetAssetString is version of GetAsset that returns string instead of byte slice. Returns empty string if no such asset exists.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.