static

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EtagFor

func EtagFor(fi fs.FileInfo) string

Compute a reasonable ETag header value for fi.

func ReadFile

func ReadFile(filename string) (io.Reader, fs.FileInfo, error)

Try to read file with given name in any of the /static directories.

Types

This section is empty.

Jump to

Keyboard shortcuts

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