diff --git a/conf/remote.go b/conf/remote.go index 19509f4..437cbdf 100644 --- a/conf/remote.go +++ b/conf/remote.go @@ -17,11 +17,11 @@ func init() { } type Remote struct { - LogLevel log.Level `schemaGen:"logLevel" schema:"Уровень логирования"` - Scripts []ScriptDefinition - CustomScripts []ScriptDefinition - SharedScript string - ScriptExecutionTimeoutMs int `validate:"required"` + LogLevel log.Level `schemaGen:"logLevel" schema:"Уровень логирования"` + Scripts []ScriptDefinition `schemaGen:"scripts" schema:"Скрипты"` + CustomScripts []ScriptDefinition `schemaGen:"customScripts" schema:"Кастомные скрипты"` + SharedScript string `schema:"Общий скрипт"` + ScriptExecutionTimeoutMs int `validate:"required" schema:"Время выполнения скрипта"` } type ScriptDefinition struct {