Files
weave-scope/prog/static.go
2016-12-22 11:12:16 +00:00

18 lines
298 B
Go

package main
import (
"net/http"
"github.com/weaveworks/scope/prog/externalui"
"github.com/weaveworks/scope/prog/staticui"
)
// GetFS obtains the UI code
func GetFS(useExternal bool) http.FileSystem {
if useExternal {
return externalui.FS(false)
} else {
return staticui.FS(false)
}
}