Sfoglia il codice sorgente

chore: remove unecessary files

master
Blaz Smehov 1 mese fa
parent
commit
55fae7b219
4 ha cambiato i file con 1001 aggiunte e 1389 eliminazioni
  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
File diff soppresso perché troppo grande
Vedi File


+ 1
- 0
cmd/location/main.go Vedi File

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

if !ok {
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 Vedi File

@@ -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
File diff soppresso perché troppo grande
Vedi File


Caricamento…
Annulla
Salva