handlers

package
v0.0.0-...-ff84f7d Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClass

func CreateClass(c echo.Context) error

func CreateRoom

func CreateRoom(c echo.Context) error

func CreateSection

func CreateSection(c echo.Context) error

func CreateUser

func CreateUser(c echo.Context) error

func DeleteClass

func DeleteClass(c echo.Context) error

func FileUpload

func FileUpload(c echo.Context) error

func GetClass

func GetClass(c echo.Context) error

func GetRoom

func GetRoom(c echo.Context) error

func GetSection

func GetSection(c echo.Context) error

func GetUser

func GetUser(c echo.Context) error

func JoinClass

func JoinClass(c echo.Context) error

func RegisterRoomRoutes

func RegisterRoomRoutes(g *echo.Group)

func RegisterRoutes

func RegisterRoutes(base *echo.Group)

func SignIn

func SignIn(c echo.Context) error

func StartClass

func StartClass(c echo.Context) error

func UpdateClass

func UpdateClass(c echo.Context) error

Types

type LoginCreds

type LoginCreds struct {
	UserID   string `json:"user_id" validate:"required,min=3,max=32"`
	Password string `json:"password" validate:"required,min=5,max=32"`
}

Jump to

Keyboard shortcuts

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