You've already forked speedtest-go
Migrate code from Go branch to new repo
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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))
|
||||
}
|
||||
Reference in New Issue
Block a user