aicra/response/types.go

15 lines
263 B
Go
Raw Normal View History

2018-07-08 22:15:29 +00:00
package response
2018-06-01 08:51:51 +00:00
import (
2018-07-05 17:15:57 +00:00
"git.xdrm.io/go/aicra/err"
2018-06-01 08:51:51 +00:00
)
2018-09-13 08:21:35 +00:00
// Arguments contains all key-value arguments
type Arguments map[string]interface{}
2018-06-01 08:51:51 +00:00
2018-09-13 08:21:35 +00:00
// Response represents an API response to be sent
2018-06-01 08:51:51 +00:00
type Response struct {
data map[string]interface{}
Err err.Error
}