This commit is contained in:
ykomissarov committed 2019-11-05 18:30:50 +03:00
1 parent bdbb3216ce
commit c0775acb8a
25 files changed
+2252

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package domain
type ExecuteByIdRequest struct {
Id string `valid:"required~Required"`
Arg interface{}
}
type ExecuteRequest struct {
Script string `valid:"required~Required"`
Arg interface{}
}
+16
View File
@@ -0,0 +1,16 @@
package domain
const (
ErrorCompile = "Compilation"
ErrorRunTime = "Runtime"
)
type ScriptResp struct {
Result interface{}
Error *Error
}
type Error struct {
Type string
Description string
}