Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFilesystem ¶
func CreateFilesystem(src embed.FS, dir string) http.FileSystem
func ServeEmbed ¶
func ServeEmbed(fs *LocalFileSystem) gin.HandlerFunc
Types ¶
type LocalFileSystem ¶
type LocalFileSystem struct { Root string Prefix string FileSystem http.FileSystem }
Click to show internal directories.
Click to hide internal directories.