handlers

package
v0.0.0-...-702fcad Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCircleHandle

func CreateCircleHandle(c *fiber.Ctx) error

CreateCircleHandle handle create a new circle

func CreateFollowingHandle

func CreateFollowingHandle(c *fiber.Ctx) error

CreateFollowingHandle handle create a new circle

func DeleteCircleHandle

func DeleteCircleHandle(c *fiber.Ctx) error

DeleteCircleHandle handle delete a circle

func GetCircleHandle

func GetCircleHandle(c *fiber.Ctx) error

GetCircleHandle handle get a circle

func GetMyCircleHandle

func GetMyCircleHandle(c *fiber.Ctx) error

GetMyCircleHandle handle get authed user circle

func QueryCircleHandle

func QueryCircleHandle(c *fiber.Ctx) error

QueryCircleHandle handle query on circle

func UpdateCircleHandle

func UpdateCircleHandle(c *fiber.Ctx) error

UpdateCircleHandle handle create a new circle

Types

type CircleQueryModel

type CircleQueryModel struct {
	Search string    `query:"search"`
	Page   int64     `query:"page"`
	Owner  uuid.UUID `query:"owner"`
}

Jump to

Keyboard shortcuts

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