current implementation of ipv6
This commit is contained in:
@@ -132,24 +132,6 @@ func Server() error{
|
||||
c.JSON(http.StatusOK, resp)
|
||||
})
|
||||
|
||||
// Future feature
|
||||
/*r.GET("/create_vm/:virtualization", func(c *gin.Context) {
|
||||
virtualization := c.Param("virtualization")
|
||||
// Runs based on Preallocated VM size
|
||||
if virtualization == "docker" {
|
||||
sshinfo,err := docker.RunVM()
|
||||
if err != nil {
|
||||
c.String(http.StatusInternalServerError, fmt.Sprintf("error: %s", err))
|
||||
}
|
||||
if sshinfo != nil {
|
||||
c.JSON(http.StatusOK, sshinfo)
|
||||
}
|
||||
|
||||
} else {
|
||||
c.String(200,"virtualization tool not selected")
|
||||
}
|
||||
})*/
|
||||
|
||||
// Port running on
|
||||
err := r.Run(":8088")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user