Skip to content

Commit c4d5d75

Browse files
committed
delete chartstore
1 parent a5e6707 commit c4d5d75

8 files changed

Lines changed: 727 additions & 90 deletions

File tree

backend/cmd/config.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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+
}

backend/cmd/config.toml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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"

0 commit comments

Comments
 (0)