ui

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StaticFiles embed.FS
View Source
var Templates embed.FS

Functions

func CacheControlWrapper added in v0.2.0

func CacheControlWrapper(h http.Handler) http.Handler

Types

type StaticFSWrapper added in v0.2.0

type StaticFSWrapper struct {
	http.FileSystem
	FixedModTime time.Time
}

func (*StaticFSWrapper) Open added in v0.2.0

func (f *StaticFSWrapper) Open(name string) (http.File, error)

type StaticFileInfoWrapper added in v0.2.0

type StaticFileInfoWrapper struct {
	os.FileInfo
	// contains filtered or unexported fields
}

func (*StaticFileInfoWrapper) ModTime added in v0.2.0

func (f *StaticFileInfoWrapper) ModTime() time.Time

type StaticFileWrapper added in v0.2.0

type StaticFileWrapper struct {
	http.File
	// contains filtered or unexported fields
}

func (*StaticFileWrapper) Stat added in v0.2.0

func (f *StaticFileWrapper) Stat() (os.FileInfo, error)

Jump to

Keyboard shortcuts

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