Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
Delete godoc
@Summary Delete message record @Id deleteMessageById @Tags Message @Description Delete message record with id @Param user_secret path string true "Secret of user" @Param id path string true "ID of message" @Produce json @Success 200 {object} common.Response[bool] @Failure 401 {object} common.UnauthorizedResponse @Router /{user_secret}/message/{id} [delete]
func Get ¶
Get godoc
@Summary Get message record detail @Id getMessageById @Tags Message @Description Get message record detail of a message @Param user_secret path string true "Secret of user" @Param id path string true "ID of message" @Produce json @Success 200 {object} common.Response[models.Message] @Failure 400 {object} common.BadRequestResponse @Failure 401 {object} common.UnauthorizedResponse @Failure 404 {object} common.NotFoundResponse @Router /{user_secret}/message/{id} [get]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.