add option to disable soft-crashing

This commit is contained in:
wish
2022-08-04 23:11:19 +10:00
parent 2f35823e1e
commit cdbc11c4b2
3 changed files with 12 additions and 4 deletions

View File

@@ -9,9 +9,10 @@ import (
// Config holds the global server-wide config.
type Config struct {
HostIP string `mapstructure:"host_ip"`
BinPath string `mapstructure:"bin_path"`
DevMode bool
HostIP string `mapstructure:"host_ip"`
BinPath string `mapstructure:"bin_path"`
DisableSoftCrash bool
DevMode bool
DevModeOptions DevModeOptions
Discord Discord