15 lines
219 B
Go
15 lines
219 B
Go
|
package implement
|
||
|
|
||
|
import (
|
||
|
"git.xdrm.io/xdrm-brackets/gfw/err"
|
||
|
"sync"
|
||
|
)
|
||
|
|
||
|
type Controller func(map[string]interface{}) *Response
|
||
|
|
||
|
type Response struct {
|
||
|
data map[string]interface{}
|
||
|
m sync.Mutex
|
||
|
Err err.Error
|
||
|
}
|