Documentation ¶
Index ¶
- func DeletePerson(c *fiber.Ctx, db *gorm.DB) error
- func FiberHandler(fn func(*fiber.Ctx, *gorm.DB) error, db *gorm.DB) fiber.Handler
- func GetPeople(c *fiber.Ctx, db *gorm.DB) error
- func GetPerson(c *fiber.Ctx, db *gorm.DB) error
- func PatchPerson(c *fiber.Ctx, db *gorm.DB) error
- func PostPerson(c *fiber.Ctx, db *gorm.DB) error
- func Serve(config config.Config, fs embed.FS, db *gorm.DB, users seekrauth.Users) error
- func UserDB(username string, db *gorm.DB) *gorm.DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeletePerson ¶
func FiberHandler ¶
@Param request body main.MyHandler.request true "query params" @Success 200 {object} main.MyHandler.response @Router /test [post]
func GetPerson ¶
@Param request body main.MyHandler.request true "query params" @Success 200 {object} main.MyHandler.response @Router /test [post]
func PatchPerson ¶
func PostPerson ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.