Documentation ¶
Index ¶
- func Count(c *gin.Context, index, typ string, db *rpcutils.DBRead)
- func GetRequest(c *gin.Context) (*rpcutils.ClientRequest, error)
- func List(c *gin.Context, index, typ string, ...)
- func ParserESclient(c *gin.Context) (*querypara.Query, error)
- func RequestParse(c *gin.Context)
- func SetError(c *gin.Context, code int, err error)
- func SetResult(c *gin.Context, result interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequest ¶
func GetRequest(c *gin.Context) (*rpcutils.ClientRequest, error)
func List ¶
func List(c *gin.Context, index, typ string, decoder func(x *json.RawMessage) (interface{}, error), db *rpcutils.DBRead)
List 查询列表
func ParserESclient ¶
ParserESclient 解析es的query结构体
func RequestParse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.