feature: Adds semi-broken stability improvements into the runtime environment.
This commit is contained in:
parent
f505ff6605
commit
605ad31dd6
3 changed files with 205 additions and 35 deletions
|
@ -12,14 +12,17 @@ type Backend struct {
|
|||
}
|
||||
|
||||
type Runtime struct {
|
||||
isRuntimeRunning bool
|
||||
logger *writeLogger
|
||||
currentProcess *exec.Cmd
|
||||
currentListener net.Listener
|
||||
isRuntimeRunning bool
|
||||
logger *writeLogger
|
||||
currentProcess *exec.Cmd
|
||||
currentListener net.Listener
|
||||
processRestartNotification chan bool
|
||||
|
||||
ProcessPath string
|
||||
Logs []string
|
||||
RuntimeCommands chan interface{}
|
||||
|
||||
OnCrashCallback func(sock net.Conn)
|
||||
}
|
||||
|
||||
type writeLogger struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue