package
0.0.0-20220126111042-bcd2c7cf3f6d
Repository: https://github.com/codehanhan/ferry-backend.git
Documentation: pkg.go.dev
# Functions
DeletePing godoc @Summary 删除记录信息 @Description 接收主键PingID,根据PingID删除该条记录 @Tags ping @ID delete_ping @Param ping_id query string true "any string" @Success 200 {object} form.PingResponse @Failure 500 {object} app.ErrResponse @Failure 400 {object} app.ErrResponse @Produce json @Router /ping [delete].
ListPing godoc @Summary 分页获取ping的记录信息 @Description 接收偏移和限制量,返回对应的ping记录 @Tags ping @ID list-ping @Param offset query int true "偏移量" @Param limit query int true "每页记录数" @Success 200 {object} form.ListPingResponse @Failure 500 {object} app.ErrResponse @Failure 400 {object} app.ErrResponse @Produce json @Router /ping [get].
Ping godoc @Summary 测试服务是否正常启动 @Description 接收一个字符串,返回这个字符串加上", too"后缀 @Tags ping @ID ping @Param message query string true "any string" @Success 200 {object} form.PingResponse @Failure 500 {object} app.ErrResponse @Failure 400 {object} app.ErrResponse @Produce json @Router /ping [post].
UpdatePing godoc @Summary 更新记录信息 @Description 接收主键PingID,根据PingID更新该条记录的message @Tags ping @ID update_ping @Param ping_id query string true "any string" @Param updatemessage query string true "any string" @Success 200 {object} form.UpdatePingResponse @Failure 500 {object} app.ErrResponse @Failure 400 {object} app.ErrResponse @Produce json @Router /ping [put].