Skip to content

Commit

Permalink
remove server log
Browse files Browse the repository at this point in the history
  • Loading branch information
ZORbit01 committed Apr 13, 2023
1 parent 78e45d1 commit 74e1227
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dispatcher/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package dispatcher
import (
"encoding/json"
"github.com/fatih/color"
"log"
"net"
"net/http"
"os"
Expand Down Expand Up @@ -33,11 +32,8 @@ func HandleCamp(writer http.ResponseWriter, request *http.Request, d *Dispatcher
}
name := request.URL.Query().Get("name")

log.Println("name: ", name)
soldier := d.Cmp.GetSoldierByIpAndName(name, ip)
speed := request.URL.Query().Get("speed")
log.Println("soldier: ", soldier)
log.Println("speed: ", speed)

if soldier == nil {
//maybe its leader
Expand Down

0 comments on commit 74e1227

Please sign in to comment.