File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ Backend-H8
1111backend
1212! build
1313# MacOS build
14- cmd
14+ cmd /cmd
15+ cmd /logger /
1516
1617# EXCEL
1718* .xlsx
Original file line number Diff line number Diff line change 1+ package main
2+
3+ import (
4+ "github.com/HyperloopUPV-H8/h9-backend/internal/excel_adapter"
5+ "github.com/HyperloopUPV-H8/h9-backend/internal/server"
6+ "github.com/HyperloopUPV-H8/h9-backend/internal/vehicle"
7+ )
8+
9+ type Config struct {
10+ Excel excel_adapter.ExcelAdapterConfig
11+ Vehicle vehicle.Config
12+ Server server.Config
13+ }
Original file line number Diff line number Diff line change 1+
2+ [server .local ]
3+ address = " 127.0.0.1:4000"
4+ static = " ./static"
5+
6+ [server .local .endpoints ]
7+ pod_data = " /podDataStructure"
8+ order_data = " /orderStructures"
9+ programable_boards = " /uploadableBoards"
10+ connections = " /backend"
11+ files = " /"
12+
13+ [vehicle ]
14+ boards = [" VCU" ]
15+
16+ [excel .download ]
17+ id =" 1NyNaAOw_6iWtnCpEg73AtSSFx1fMdhPRmmdOhjgjCZI"
18+ name = " ade.xlsx"
19+ path = " ."
20+
21+ [excel .parse ]
22+ global_sheet_prefix = " GLOBAL "
23+ board_sheet_prefix = " BOARD "
24+ table_prefix = " [TABLE] "
25+ [excel .parse .global ]
26+ address_table = " addresses"
27+ backend_key = " Backend"
28+ blcu_address_key = " BLCU"
29+ units_table = " units"
30+ ports_table = " ports"
31+ board_ids_table = " board_ids"
32+ message_ids_table = " message_ids"
You can’t perform that action at this time.
0 commit comments