Documentation ¶
Index ¶
- Constants
- func AddContact(c *fiber.Ctx) error
- func ContactList(c *fiber.Ctx) error
- func GetMessages(c *fiber.Ctx) error
- func InsertMessage(c *fiber.Ctx) error
- func List(c *fiber.Ctx) error
- func Login(c *fiber.Ctx) error
- func Logout(c *fiber.Ctx) error
- func MarkAsRead(c *fiber.Ctx) error
- func One(c *fiber.Ctx) error
- func Register(c *fiber.Ctx) error
- type ApiResponse
- type ApiResponseList
- type GetMessageRequsetBody
- type RequestBody
Constants ¶
View Source
const SecretKey = "secret"
Variables ¶
This section is empty.
Functions ¶
func AddContact ¶
func AddContact(c *fiber.Ctx) error
func ContactList ¶
func ContactList(c *fiber.Ctx) error
func GetMessages ¶
func GetMessages(c *fiber.Ctx) error
func InsertMessage ¶
func InsertMessage(c *fiber.Ctx) error
func MarkAsRead ¶
func MarkAsRead(c *fiber.Ctx) error
Types ¶
type ApiResponse ¶
type ApiResponse struct {
Message string `json:"message"`
}
type ApiResponseList ¶
type ApiResponseList struct {
List any `json:"list"`
}
type GetMessageRequsetBody ¶
type RequestBody ¶
Click to show internal directories.
Click to hide internal directories.