aicra/implement/types.go

16 lines
245 B
Go

package implement
import (
"git.xdrm.io/go/aicra/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
}