Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnSupportMethod = errors.New("unsupport method") ErrUnSupportContent = errors.New("unsupport content type") )
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
OperationId string `json:"operation_id"`
Server string `json:"server"`
Url string `json:"url"`
Desc string `json:"desc"`
Method string `json:"method"`
ContentType string `json:"content_type"`
Query map[string]string `json:"query"`
Path map[string]string `json:"path"`
Body map[string]string `json:"body"`
Header map[string]string `json:"header"`
Params map[string]string `json:"params"`
Files map[string]string `json:"files"`
Requires []string `json:"requires"`
}
Click to show internal directories.
Click to hide internal directories.