Documentation
¶
Index ¶
- func ApiIndex(ctx *fiber.Ctx) error
- func CreateImage(c *fiber.Ctx) error
- func CreateUser(c *fiber.Ctx) error
- func GetImage(c *fiber.Ctx) error
- func GetImages(c *fiber.Ctx) error
- func GetUser(c *fiber.Ctx) error
- func Login(c *fiber.Ctx) error
- func Me(c *fiber.Ctx) error
- func Register(c *fiber.Ctx) error
- type Image
- type ImageResponse
- type LoginBody
- type LoginUser
- type NewUser
- type UserResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
func CreateUser(c *fiber.Ctx) error
Creates a new user (different from registering a user)
func GetUser ¶
func GetUser(c *fiber.Ctx) error
Gets a single user by id param (different from getting the auth user)
Types ¶
type ImageResponse ¶
type UserResponse ¶
Click to show internal directories.
Click to hide internal directories.