Przeglądaj źródła

chore: remove unecessary files

master
Blaz Smehov 1 miesiąc temu
rodzic
commit
55fae7b219
4 zmienionych plików z 1001 dodań i 1389 usunięć
  1. +994
    -0
      cmd/location/log.txt
  2. +1
    -0
      cmd/location/main.go
  3. +6
    -0
      cmd/location/server.log
  4. +0
    -1389
      copy_files/_main.go

+ 994
- 0
cmd/location/log.txt
Plik diff jest za duży
Wyświetl plik


+ 1
- 0
cmd/location/main.go Wyświetl plik

@@ -203,6 +203,7 @@ func assignBeaconToList(adv model.BeaconAdvertisement, appState *appcontext.AppS
id := adv.MAC id := adv.MAC
ok := appState.BeaconExists(id) ok := appState.BeaconExists(id)
now := time.Now().Unix() now := time.Now().Unix()
fmt.Printf("beacon id: %s\n", id)


if !ok { if !ok {
appState.UpdateLatestBeacon(id, model.Beacon{ID: id, BeaconType: adv.BeaconType, LastSeen: now, IncomingJSON: adv, BeaconLocation: adv.Hostname, Distance: utils.CalculateDistance(adv)}) appState.UpdateLatestBeacon(id, model.Beacon{ID: id, BeaconType: adv.BeaconType, LastSeen: now, IncomingJSON: adv, BeaconLocation: adv.Hostname, Distance: utils.CalculateDistance(adv)})


+ 6
- 0
cmd/location/server.log Wyświetl plik

@@ -0,0 +1,6 @@
{"time":"2025-12-04T12:58:07.198978987+01:00","level":"INFO","msg":"Locations algorithm initialized, subscribed to Kafka topics"}
{"time":"2025-12-04T12:58:31.095680248+01:00","level":"INFO","msg":"broken out of the main event loop"}
{"time":"2025-12-04T12:58:31.095860131+01:00","level":"INFO","msg":"All go routines have stopped, Beggining to close Kafka connections"}
{"time":"2025-12-04T12:58:48.509999563+01:00","level":"INFO","msg":"Locations algorithm initialized, subscribed to Kafka topics"}
{"time":"2025-12-04T13:00:19.083141862+01:00","level":"INFO","msg":"broken out of the main event loop"}
{"time":"2025-12-04T13:00:19.083262279+01:00","level":"INFO","msg":"All go routines have stopped, Beggining to close Kafka connections"}

+ 0
- 1389
copy_files/_main.go
Plik diff jest za duży
Wyświetl plik


Ładowanie…
Anuluj
Zapisz