Ocean/System/StartAndBlockForever.go
Thorsten Sommer 22d3aae633 Renamed
2015-06-21 20:19:16 +02:00

19 lines
300 B
Go

package System
import (
"github.com/SommerEngineering/Ocean/WebServer"
"time"
)
// The main function for the application.
func StartAndBlockForever() {
// Starts the public and private web server with own threads:
WebServer.Start()
// Wait forever:
for {
time.Sleep(1 * time.Second)
}
}