file

package
v0.0.0-...-dc37515 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetDir

func AssetDir() server.Route

AssetDir returns a route for the assets/ directory.

If there is a compressed version of a file available, it will be served instead if the client supports it.

func MiscDir

func MiscDir(logger logrus.FieldLogger) []server.Route

MiscDir returns routes for the misc/ directory.

This is a special directory where each file will be a route under /. The point of this is create a simple solution for paths like favicon.ico or robots.txt.

Types

This section is empty.

Jump to

Keyboard shortcuts

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