added docker continers to track server usage of docker containers

This commit is contained in:
2021-02-02 22:38:36 +04:00
parent 6b7abe989d
commit 67fc7ebc63
34 changed files with 7795 additions and 11 deletions

16
main.go
View File

@@ -4,7 +4,7 @@ import (
"log"
"os"
"github.com/urfave/cli/v2"
"fmt"
//"fmt"
"git.sr.ht/~akilan1999/p2p-rendering-computation/server"
)
@@ -64,14 +64,20 @@ func main() {
},
},
Action: func(c *cli.Context) error {
/*action for all flags*/
Action: func(c *cli.Context) error {
/* action when certain flags are selected */
if Run_script == "None" {
/*if Run_script == "None" {
fmt.Println("script not excuted as run script not selected")
}
}*/
if List_servers == true{
/*if List_servers == true{
server.Servers()
}*/
// If mode server is selected
if mode == "server"{
server.Server()
}
return nil