2018-05-21 10:02:24 +00:00
|
|
|
package gfw
|
|
|
|
|
|
|
|
import (
|
2018-05-24 13:54:36 +00:00
|
|
|
"git.xdrm.io/gfw/checker"
|
2018-05-21 10:02:24 +00:00
|
|
|
"git.xdrm.io/gfw/internal/config"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Server struct {
|
2018-05-24 13:54:36 +00:00
|
|
|
config *config.Controller
|
|
|
|
Params map[string]interface{}
|
|
|
|
Checker *checker.TypeRegistry // type check
|
|
|
|
err Err
|
2018-05-21 10:02:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type Request struct {
|
2018-05-21 11:02:15 +00:00
|
|
|
Uri []string
|
|
|
|
ControllerUri []string
|
|
|
|
FormData map[string]interface{}
|
|
|
|
GetData map[string]interface{}
|
2018-05-22 17:01:39 +00:00
|
|
|
UrlData []interface{}
|
2018-05-21 11:02:15 +00:00
|
|
|
Data map[string]interface{}
|
2018-05-21 10:02:24 +00:00
|
|
|
}
|