v1

package
v0.0.0-...-a051fab Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCollectionRoutes

func AddCollectionRoutes(route fiber.Router)

func AddDatabaseRoutes

func AddDatabaseRoutes(route fiber.Router)

add database routes to a fiber app

func AddDocumentsRoutes

func AddDocumentsRoutes(route fiber.Router)

func AddV1Routes

func AddV1Routes(router fiber.Router)

Add all V1 routes to a Fiber App

func CreateCollection

func CreateCollection(c *fiber.Ctx) error

func CreateDatabase

func CreateDatabase() func(c *fiber.Ctx) error

create new database record

func CreateDocument

func CreateDocument(c *fiber.Ctx) error

func DeleteCollection

func DeleteCollection(c *fiber.Ctx) error

func DeleteDatabase

func DeleteDatabase() func(c *fiber.Ctx) error

delete a database record

func DeleteDocument

func DeleteDocument(c *fiber.Ctx) error

func GetCollection

func GetCollection(c *fiber.Ctx) error

func GetCollections

func GetCollections(c *fiber.Ctx) error

func GetDatabase

func GetDatabase() func(c *fiber.Ctx) error

return a specific database record

func GetDatabases

func GetDatabases() func(c *fiber.Ctx) error

return paginated database records

func GetDocument

func GetDocument(c *fiber.Ctx) error

func GetDocuments

func GetDocuments(c *fiber.Ctx) error

func SearchCollection

func SearchCollection(c *fiber.Ctx) error

func UpdateCollection

func UpdateCollection(c *fiber.Ctx) error

func UpdateDatabase

func UpdateDatabase() func(c *fiber.Ctx) error

update an existing database record

func UpdateDocument

func UpdateDocument(c *fiber.Ctx) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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