restructued folders in docker

This commit is contained in:
2021-02-03 19:31:51 +04:00
parent 67fc7ebc63
commit a2adff2318
7 changed files with 18 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ package server
import (
"github.com/gin-gonic/gin"
"net/http"
docker "git.sr.ht/~akilan1999/p2p-rendering-computation/server/docker"
)
func Server() {
@@ -14,7 +15,7 @@ func Server() {
})
r.GET("/create_vm", func(c *gin.Context) {
c.JSON(http.StatusOK, ServerInfo())
c.JSON(http.StatusOK, docker.BuildContainer())
})
// Port running on