func main() { service := new(EchoServer) echo.RegisterEchoService(service) l, err := net.Listen("tcp", ":8888") if err != nil { log.Fatal(err) return } muduorpc.Serve(l) }
func main() { service := new(SudokuServer) sudoku.RegisterSudokuService(service) l, err := net.Listen("tcp", ":9981") if err != nil { log.Fatal(err) return } muduorpc.Serve(l) }