Documentation
¶
Index ¶
- type AssetStore
- func (store *AssetStore) Clear()
- func (store *AssetStore) Get(assetPath string) ([]byte, bool)
- func (store *AssetStore) Has(assetPath string) bool
- func (store *AssetStore) Put(assetPath string, content []byte)
- func (store *AssetStore) VersionedPath(folderPath, fileNameWithoutExtension, fileExtension string) string
- type Config
- type Engine
- type RenderRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetStore ¶
type AssetStore struct {
// contains filtered or unexported fields
}
func NewAssetStore ¶
func NewAssetStore(version string) *AssetStore
func (*AssetStore) Clear ¶
func (store *AssetStore) Clear()
func (*AssetStore) Has ¶
func (store *AssetStore) Has(assetPath string) bool
func (*AssetStore) Put ¶
func (store *AssetStore) Put(assetPath string, content []byte)
func (*AssetStore) VersionedPath ¶
func (store *AssetStore) VersionedPath(folderPath, fileNameWithoutExtension, fileExtension string) string
Click to show internal directories.
Click to hide internal directories.