Skip to content
Snippets Groups Projects
Commit c2d5c814 authored by Xavier Perret's avatar Xavier Perret
Browse files

separating userinput loop on client and server

parent 72ff2b70
No related branches found
No related tags found
1 merge request!2added file to separate client function from the server
...@@ -94,7 +94,7 @@ func main() { ...@@ -94,7 +94,7 @@ func main() {
addressToListenOn := "0.0.0.0" addressToListenOn := "0.0.0.0"
go listenForConnections(serverConfig, objectStorage, addressToListenOn, amIRoot) go listenForConnections(serverConfig, objectStorage, addressToListenOn, amIRoot)
command_line.UserInputLoop(serverConfig, true, objectStorage) command_line.ServerUserInputLoop(serverConfig, true, objectStorage)
_, err = objectStorage.BlockBlobClient.Delete(ctx, nil) _, err = objectStorage.BlockBlobClient.Delete(ctx, nil)
if err != nil { if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment