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
This commit is contained in:
1 parent
96bcb5da8f
commit
3348e552cc
10 files changed
+63
-20
No files matched your search
@@ -2,8 +2,12 @@ package System
|
||||
|
||||
import (
|
||||
"github.com/SommerEngineering/Ocean/WebServer"
|
||||
"time"
|
||||
)
|
||||
|
||||
func StartAndBlockForever() {
|
||||
WebServer.Start()
|
||||
for {
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user