Ocean/System/Start.go
Thorsten 3348e552cc Misc.
+ Removed the fixed shutdown time
+ Added the configuration for the public web server
+ Refactored the old web server settings
+ Improved the handling of shutdown handlers. It is not save!
+ Bugfix: The server start was no longer blocking
2014-11-07 13:00:55 +01:00

14 lines
188 B
Go

package System
import (
"github.com/SommerEngineering/Ocean/WebServer"
"time"
)
func StartAndBlockForever() {
WebServer.Start()
for {
time.Sleep(1 * time.Second)
}
}