Downlaod speedtest module complete
This commit is contained in:
BIN
server/50.bin
Normal file
BIN
server/50.bin
Normal file
Binary file not shown.
@@ -16,6 +16,11 @@ func Server() {
|
||||
c.JSON(http.StatusOK, ServerInfo())
|
||||
})
|
||||
|
||||
// Speed test with 50 mbps
|
||||
r.GET("/50", func(c *gin.Context){
|
||||
c.File("server/50.bin")
|
||||
})
|
||||
|
||||
// Route build to do a speed test
|
||||
r.GET("/upload", func(c *gin.Context) {
|
||||
file, _ := c.FormFile("file")
|
||||
|
||||
Reference in New Issue
Block a user