Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestTpl string
Functions ¶
This section is empty.
Types ¶
type ApiInfo ¶
type ApiInfo struct { File string `yaml:"File" json:"File"` Title string `yaml:"title" json:"title" c:"接口标题"` Desc string `yaml:"desc" json:"desc" c:"接口描述"` Method string `yaml:"method" json:"method"` Router string `yaml:"router" json:"router"` TypeList []api_type.Object `yaml:"typeList" json:"typeList"` Header *api_type.Object `yaml:"header" json:"header" c:"请求头说明"` Query *api_type.Object `yaml:"query" json:"query"` Body *api_type.Object `yaml:"body" json:"body"` Param *api_type.Object `yaml:"param" json:"param"` Resp *api_type.Object `yaml:"resp" json:"resp"` FunctionName string `yaml:"functionName" json:"functionName" c:"函数名"` RawRouter string `yaml:"rawRouter" json:"rawRouter" c:"原始路径"` }
Click to show internal directories.
Click to hide internal directories.