+ 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
14 lines
188 B
Go
14 lines
188 B
Go
package System
|
|
|
|
import (
|
|
"github.com/SommerEngineering/Ocean/WebServer"
|
|
"time"
|
|
)
|
|
|
|
func StartAndBlockForever() {
|
|
WebServer.Start()
|
|
for {
|
|
time.Sleep(1 * time.Second)
|
|
}
|
|
}
|