recovery mode options
This commit is contained in:
parent
ca6e2b84dc
commit
a27819d0f6
@ -1,10 +1,12 @@
|
|||||||
settings:
|
settings:
|
||||||
debug: true
|
recovery:
|
||||||
|
events: true
|
||||||
|
tools: true
|
||||||
legacy:
|
legacy:
|
||||||
force: false
|
force: false
|
||||||
interval: 0s
|
interval: 0s
|
||||||
server:
|
server:
|
||||||
status: true
|
status: false
|
||||||
open: true
|
open: true
|
||||||
port: 3000
|
port: 3000
|
||||||
host: localhost
|
host: localhost
|
||||||
@ -13,7 +15,7 @@ schema:
|
|||||||
path: .
|
path: .
|
||||||
commands:
|
commands:
|
||||||
generate:
|
generate:
|
||||||
status: true
|
status: false
|
||||||
install:
|
install:
|
||||||
status: true
|
status: true
|
||||||
vet:
|
vet:
|
||||||
|
@ -29,10 +29,14 @@ const (
|
|||||||
// Settings defines a group of general settings and options
|
// Settings defines a group of general settings and options
|
||||||
type Settings struct {
|
type Settings struct {
|
||||||
Files `yaml:"files,omitempty" json:"files,omitempty"`
|
Files `yaml:"files,omitempty" json:"files,omitempty"`
|
||||||
Recovery bool `yaml:"recovery,omitempty" json:"recovery,omitempty"`
|
FileLimit int32 `yaml:"flimit,omitempty" json:"flimit,omitempty"`
|
||||||
Debug bool `yaml:"debug,omitempty" json:"debug,omitempty"`
|
Legacy Legacy `yaml:"legacy" json:"legacy"`
|
||||||
FileLimit int32 `yaml:"flimit,omitempty" json:"flimit,omitempty"`
|
Recovery Recovery `yaml:"recovery,omitempty" json:"recovery,omitempty"`
|
||||||
Legacy Legacy `yaml:"legacy" json:"legacy"`
|
}
|
||||||
|
|
||||||
|
type Recovery struct {
|
||||||
|
Events bool
|
||||||
|
Tools bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// Legacy is used to force polling and set a custom interval
|
// Legacy is used to force polling and set a custom interval
|
||||||
|
Loading…
Reference in New Issue
Block a user