Documentation
¶
Index ¶
Constants ¶
View Source
const (
BaseDate = "2006-01-02 15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
func BuildReplay ¶
Types ¶
type BodyModel ¶
type BodyModel struct {
Url string `json:"url"`
Origin string `json:"origin"`
Method string `json:"method"`
Body string `json:"body"`
Json interface{} `json:"json"`
Args map[string]string `json:"args"`
Form map[string]string `json:"form"`
Files map[string]string `json:"files"`
Headers map[string]string `json:"headers"`
}
BodyModel data reply model
func BuildBodyReplay ¶
type QueryModel ¶
type QueryModel struct {
Url string `json:"url"`
Origin string `json:"origin"`
Method string `json:"method"`
Args map[string]string `json:"args"`
Headers map[string]string `json:"headers"`
}
QueryModel data reply model
func BuildQueryReplay ¶
func BuildQueryReplay(c *rux.Context) QueryModel
Click to show internal directories.
Click to hide internal directories.