static

package
v0.0.0-...-a84335b Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package static handles processing and retreiving static assets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBinaryFileChecksum

func GetBinaryFileChecksum(filename string) (string, error)

GetBinaryFileChecksum returns a binary file's etag for identifying in cache headers.

func LoadBinaryFile

func LoadBinaryFile(filename string) ([]byte, error)

LoadBinaryFile loads a static binary file

func LoadStylesheet

func LoadStylesheet() ([]byte, error)

LoadStylesheet will load the application stylesheet.

TODO: apply caching and minification after initial call

Types

This section is empty.

Jump to

Keyboard shortcuts

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