a rewrite of ronny the station chef but in go
- Move all log.fatals to proper err handling
- Implement Error recovery
- Add health endpoint
- Collector: Retrieves all packages retrieved on the bluetooth interface, filters out the garbage and stores the baton packets as a detection in the postgresql DB
- Spreader: An HTTP webser powered by fiber with an websocket endpoint where the detections will be sent over.
- Emulator: This will emulate the
Collectorfor testing purposes
-
Install go
-
Run what you want with
go run cmds/PROGRAM/main.goand in the case of theCollectordo not forget to run the program with higher privileges
See the (ansible-config)[https://github.com/12urenloop/ansible-config/] repo.