web

package
v0.7.9 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmbeddedFiles embed.FS

Functions

This section is empty.

Types

type File

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

func (*File) Readdir

func (f *File) Readdir(count int) ([]fs.FileInfo, error)

func (*File) Seek

func (f *File) Seek(offset int64, whence int) (int64, error)

type ServeFileSystem

type ServeFileSystem struct {
	E    embed.FS
	Path string
}

func (*ServeFileSystem) Exists

func (c *ServeFileSystem) Exists(prefix string, filepath string) bool

func (*ServeFileSystem) Open

func (c *ServeFileSystem) Open(name string) (http.File, error)

Jump to

Keyboard shortcuts

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