2018-06-01 08:51:51 +00:00
|
|
|
package implement
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.xdrm.io/xdrm-brackets/gfw/err"
|
|
|
|
"sync"
|
|
|
|
)
|
|
|
|
|
2018-06-01 09:07:34 +00:00
|
|
|
type Arguments map[string]interface{}
|
|
|
|
type Controller func(map[string]interface{}, *Response) Response
|
2018-06-01 08:51:51 +00:00
|
|
|
|
|
|
|
type Response struct {
|
|
|
|
data map[string]interface{}
|
|
|
|
m sync.Mutex
|
|
|
|
Err err.Error
|
|
|
|
}
|