connector impl

This commit is contained in:
Ilia Denisov
2026-03-14 21:11:51 +02:00
committed by GitHub
parent c2d2cebe3e
commit ac3ed31a23
9 changed files with 863 additions and 6 deletions
@@ -5,6 +5,7 @@ import (
"net/http"
"galaxy/model/order"
"galaxy/model/report"
"galaxy/model/rest"
"galaxy/game/internal/router"
@@ -55,6 +56,10 @@ func (e *dummyExecutor) GameState() (rest.StateResponse, error) {
return rest.StateResponse{}, nil
}
func (e *dummyExecutor) LoadReport(actor string, turn uint) (*report.Report, error) {
return &report.Report{}, nil
}
func setupRouter() *gin.Engine {
return setupRouterExecutor(newExecutor())
}