Documentation
¶
Overview ¶
@securityDefinitions.basic BasicAuth
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JSONResult ¶ added in v1.0.0
type JSONResult struct { Code int `json:"code" ` Message string `json:"message"` Data interface{} `json:"data"` }
返回了一个JsonResult对象,其中这个对象的data字段是Order结构 @success 200 {object} jsonresult.JSONResult{data=proto.Order} "desc"
Directories
¶
Path | Synopsis |
---|---|
middleware
|
|
module
|
|
Package swagger GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag at 2022-12-06 16:18:54.040659374 +0800 CST m=+0.047469077
|
Package swagger GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag at 2022-12-06 16:18:54.040659374 +0800 CST m=+0.047469077 |
Click to show internal directories.
Click to hide internal directories.