init
This commit is contained in:
1 parent
bdbb3216ce
commit
c0775acb8a
25 files changed
+2252
No files matched your search
@@ -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{}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user