aicra/implement/types.go

14 lines
220 B
Go
Raw Normal View History

2018-06-01 08:51:51 +00:00
package implement
import (
2018-07-05 17:15:57 +00:00
"git.xdrm.io/go/aicra/err"
2018-06-01 08:51:51 +00:00
)
type Arguments map[string]interface{}
2018-06-03 08:41:19 +00:00
type Controller func(Arguments, *Response) Response
2018-06-01 08:51:51 +00:00
type Response struct {
data map[string]interface{}
Err err.Error
}