luci: go.chromium.org/luci/vpython/venv/assets Index | Files

package assets

import "go.chromium.org/luci/vpython/venv/assets"

Package assets is generated by go.chromium.org/luci/tools/cmd/assets.

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

Package assets contains generated go-code for small scripts that are needed by vpython.

Index

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 assets is imported by 2 packages. Updated 2018-10-21. Refresh now. Tools for package owners.