package
0.0.0-20241007120623-b946689a3c72
Repository: https://github.com/znotify/server.git
Documentation: pkg.go.dev

# Functions

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].
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].