Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryFileSystem ¶
func Serve ¶
func Serve(urlPrefix string, fs ServeFileSystem) echo.MiddlewareFunc
Serve Static returns a middleware handler that serves static files in the given directory.
Types ¶
type ServeFileSystem ¶
type ServeFileSystem interface { http.FileSystem Exists(prefix string, path string) bool }
ServeFileSystem
Click to show internal directories.
Click to hide internal directories.