assets

package
v0.0.0-...-60192f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package assets contains Readeck's static files and templates.

Index

Constants

This section is empty.

Variables

View Source
var Assets embed.FS

Assets contains all the static files needed by the app

Functions

func AssetMap

func AssetMap() map[string]string

AssetMap returns the loaded asset map.

func StaticFilesFS

func StaticFilesFS() http.FileSystem

StaticFilesFS returns the assets "www" subfolder as an HTTP filesystem.

func TemplatesFS

func TemplatesFS() fs.FS

TemplatesFS returns the assets "templates" subfolder as an fs.FS.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL