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 (
14
14
)
15
15
16
16
var 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" )
17
19
var ciAddress = flag .String ("ciAddress" , "" , "The address on which the CI connection is served" )
18
20
var visionAddress = flag .String ("visionAddress" , "" , "The address (ip+port) from which vision packages are received" )
19
21
var trackerAddress = flag .String ("trackerAddress" , "" , "The address (ip+port) from which tracker packages are received" )
@@ -68,6 +70,12 @@ func setupGameController() {
68
70
if ciAddress != nil && * ciAddress != "" {
69
71
cfg .Server .Ci .Address = * ciAddress
70
72
}
73
+ if autorefAddress != nil && * autorefAddress != "" {
74
+ cfg .Server .AutoRef .Address = * autorefAddress
75
+ }
76
+ if teamAddress != nil && * teamAddress != "" {
77
+ cfg .Server .Team .Address = * teamAddress
78
+ }
71
79
72
80
gameController := gc .NewGameController (cfg )
73
81
gameController .SetVerbose (* verbose )
You can’t perform that action at this time.
0 commit comments