aicra/implement/types.go

16 lines
246 B
Go

package implement
import (
"git.xdrm.io/go/xb-api/err"
"sync"
)
type Arguments map[string]interface{}
type Controller func(Arguments, *Response) Response
type Response struct {
data map[string]interface{}
m sync.Mutex
Err err.Error
}