Documentation
¶
Index ¶
- Variables
- func Compress(asset *assetmanager.AssetManager) []byte
- func DecodeJSON(d []byte, asset *assetmanager.AssetManager)
- func EncodeJSON(asset *assetmanager.AssetManager) []byte
- func GUnzipData(data []byte) (resData []byte, err error)
- func GZipData(data []byte) (compressedData []byte, err error)
- func Generate(opt GenerateOPT)
- func MakeWritable(data []byte) *bytes.Buffer
- type GenerateOPT
Constants ¶
This section is empty.
Variables ¶
View Source
var GeneratedCache = make(map[string]*assetmanager.AssetManager)
GeneratedCache assetmanager
Functions ¶
func DecodeJSON ¶
func DecodeJSON(d []byte, asset *assetmanager.AssetManager)
DecodeJSON to assetmanager
func EncodeJSON ¶
func EncodeJSON(asset *assetmanager.AssetManager) []byte
EncodeJSON to assetmanager
Types ¶
type GenerateOPT ¶
type GenerateOPT struct { File string Namespace string Asset *assetmanager.AssetManager CacheKey string }
GenerateOPT options
Click to show internal directories.
Click to hide internal directories.