Reload server and edit configuration. ()

The first iteration for config editor and server reload from the web interface.
This commit is contained in:
Antonio Navarro Perez 2020-11-08 18:19:25 +01:00 committed by GitHub
parent 56d32fd1f4
commit 0e2288565d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 882 additions and 178 deletions
build_tools/assets_generate

View file

@ -0,0 +1,20 @@
// +build ignore
package main
import (
"github.com/ajnavarro/distribyted"
"github.com/shurcooL/vfsgen"
log "github.com/sirupsen/logrus"
)
func main() {
err := vfsgen.Generate(distribyted.HttpFS, vfsgen.Options{
BuildTags: "release",
VariableName: "HttpFS",
PackageName: "distribyted",
})
if err != nil {
log.Fatalln(err)
}
}