Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CDNFile ¶
type CDNFile struct { Package string Version string Path string Extension string Mime string CacheDir string UseFileCache bool }
CDNFile is a struct which contains necessary information regarding a static file. The related methods allow for fetching and serving that file via various CDN's.
func (*CDNFile) CacheToDisk ¶
CacheToDisk writes the content to disk.
Click to show internal directories.
Click to hide internal directories.