Documentation
¶
Index ¶
- func BindAppJson(c *gin.Context, inf interface{}) error
- type ErrorMsg
- type Rest
- func (r *Rest) CreateLog(c *gin.Context)
- func (r *Rest) CreateRecords(c *gin.Context, logId restapi.LogId)
- func (r *Rest) DeleteLogs(c *gin.Context)
- func (r *Rest) Ping(c *gin.Context)
- func (r *Rest) QueryLogs(c *gin.Context, params restapi.QueryLogsParams)
- func (r *Rest) QueryRecords(c *gin.Context, params restapi.QueryRecordsParams)
- func (r *Rest) RegisterEPs(g *gin.Engine) error
- func (r *Rest) UpdateLog(c *gin.Context, logId restapi.LogId)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindAppJson ¶
BindAppJson turns the request body to inf, but for "application/json" contents only
Types ¶
type Rest ¶
type Rest struct {
// contains filtered or unexported fields
}
func (*Rest) DeleteLogs ¶
func (*Rest) QueryRecords ¶
func (r *Rest) QueryRecords(c *gin.Context, params restapi.QueryRecordsParams)
Click to show internal directories.
Click to hide internal directories.