api

package
v0.0.0-...-76b3d1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2023 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeletePerson

func DeletePerson(c *fiber.Ctx, db *gorm.DB) error

func FiberHandler

func FiberHandler(fn func(*fiber.Ctx, *gorm.DB) error, db *gorm.DB) fiber.Handler

@Param request body main.MyHandler.request true "query params" @Success 200 {object} main.MyHandler.response @Router /test [post]

func GetPeople

func GetPeople(c *fiber.Ctx, db *gorm.DB) error

func GetPerson

func GetPerson(c *fiber.Ctx, db *gorm.DB) error

@Param request body main.MyHandler.request true "query params" @Success 200 {object} main.MyHandler.response @Router /test [post]

func PatchPerson

func PatchPerson(c *fiber.Ctx, db *gorm.DB) error

func PostPerson

func PostPerson(c *fiber.Ctx, db *gorm.DB) error

func Serve

func Serve(config config.Config, fs embed.FS, db *gorm.DB, users seekrauth.Users) error

func UserDB

func UserDB(username string, db *gorm.DB) *gorm.DB

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL