speedtest-go/main.go
2020-06-02 18:10:50 +08:00

17 lines
291 B
Go

package main
import (
"github.com/librespeed/speedtest/config"
"github.com/librespeed/speedtest/database"
"github.com/librespeed/speedtest/web"
log "github.com/sirupsen/logrus"
)
func main() {
conf := config.Load()
database.SetDBInfo(&conf)
log.Fatal(web.ListenAndServe(&conf))
}