Ocean/System/Start.go

19 lines
318 B
Go
Raw Normal View History

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