File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ import (
1414)
1515
1616var address = flag .String ("address" , "localhost:8081" , "The address on which the UI and API is served" )
17+ var autorefAddress = flag .String ("autorefAddress" , "" , "The address on which the Autoref -> GC connection is served" )
18+ var teamAddress = flag .String ("teamAddress" , "" , "The address on which the Team -> GC connection is served" )
1719var ciAddress = flag .String ("ciAddress" , "" , "The address on which the CI connection is served" )
1820var visionAddress = flag .String ("visionAddress" , "" , "The address (ip+port) from which vision packages are received" )
1921var trackerAddress = flag .String ("trackerAddress" , "" , "The address (ip+port) from which tracker packages are received" )
@@ -68,6 +70,12 @@ func setupGameController() {
6870 if ciAddress != nil && * ciAddress != "" {
6971 cfg .Server .Ci .Address = * ciAddress
7072 }
73+ if autorefAddress != nil && * autorefAddress != "" {
74+ cfg .Server .AutoRef .Address = * autorefAddress
75+ }
76+ if teamAddress != nil && * teamAddress != "" {
77+ cfg .Server .Team .Address = * teamAddress
78+ }
7179
7280 gameController := gc .NewGameController (cfg )
7381 gameController .SetVerbose (* verbose )
You can’t perform that action at this time.
0 commit comments