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"
3 years ago
"FRMS/internal/pkg/reactor"
)
3 years ago
type coordinator interface {
Start() error
}
3 years ago
func main() {
id:= "192.1.168.156"
port:= 2000
3 years ago
go reactor.Start(id,port)
3 years ago
fmt.Printf("Starting reactor %v\n",id)
for true {
// endless loop to keep main alive
}
}