2025-01-17 13:19:27: merge [master:c2f4eeaa7895939ab8396da2b7dfdf0014f6ee1f];
This commit is contained in:
1 parent
9600f7ef1e
commit
ad505b8f3c
9 files changed
+147
-13
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"logLevel": "debug",
|
||||
"scripts": [
|
||||
],
|
||||
"scripts": [],
|
||||
"customScripts": [],
|
||||
"sharedScript": "",
|
||||
"scriptExecutionTimeoutMs": 1000
|
||||
}
|
||||
+5
-4
@@ -17,10 +17,11 @@ func init() {
|
||||
}
|
||||
|
||||
type Remote struct {
|
||||
LogLevel log.Level `schemaGen:"logLevel" schema:"Уровень логирования"`
|
||||
Scripts []ScriptDefinition
|
||||
SharedScript string
|
||||
ScriptExecutionTimeoutMs int `validate:"required"`
|
||||
LogLevel log.Level `schemaGen:"logLevel" schema:"Уровень логирования"`
|
||||
Scripts []ScriptDefinition `schema:"Скрипты"`
|
||||
CustomScripts []ScriptDefinition `schema:"Кастомные скрипты"`
|
||||
SharedScript string `schema:"Общий скрипт"`
|
||||
ScriptExecutionTimeoutMs int `validate:"required" schema:"Время выполнения скрипта"`
|
||||
}
|
||||
|
||||
type ScriptDefinition struct {
|
||||
|
||||
Reference in new issue
Block a user