You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
313 B
Go

package main
import (
"fmt"
"FRMS/internal/pkg/reactor"
)
type coordinator interface {
Start() error
}
func main() {
id:= "192.1.168.156"
port:= 2000
go reactor.Start(id,port)
fmt.Printf("Starting reactor %v\n",id)
for true {
// endless loop to keep main alive
}
}