const INDEX = "index.html"
func LocalFile(root string, indexes bool) *localFileSystem
func Serve(urlPrefix string, fs ServeFileSystem) gin.HandlerFunc
Static returns a middleware handler that serves static files in the given directory.
func ServeRoot(urlPrefix, root string) gin.HandlerFunc
type ServeFileSystem interface { http.FileSystem Exists(prefix string, path string) bool }