handler

package
v0.0.0-...-ff699f0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleAuthenticate

func HandleAuthenticate(c echo.Context) (err error)

HandleAuthenticate describes the endpoint to sign in

func HandleExerciseCreate

func HandleExerciseCreate(c echo.Context) (err error)

HandleExerciseCreate creates an exercise from a json

func HandleExerciseDelete

func HandleExerciseDelete(c echo.Context) (err error)

HandleExerciseDelete updates an exercise

func HandleExerciseEdit

func HandleExerciseEdit(c echo.Context) (err error)

HandleExerciseEdit updates an exercise

func HandleExerciseFind

func HandleExerciseFind(c echo.Context) (err error)

HandleExerciseFind returns an exercise

func HandleExercisesGet

func HandleExercisesGet(c echo.Context) (err error)

HandleExercisesGet no need to list exercises

func HandleInjectDelete

func HandleInjectDelete(c echo.Context) (err error)

HandleInjectDelete deletes an inject

func HandleInjectEdit

func HandleInjectEdit(c echo.Context) (err error)

HandleInjectEdit updates an inject

func HandleInjectFind

func HandleInjectFind(c echo.Context) (err error)

HandleInjectFind returns an inject

func HandleInjectsCreate

func HandleInjectsCreate(c echo.Context) (err error)

HandleInjectsCreate creates injects from a list of injects!

func HandleInjectsGet

func HandleInjectsGet(c echo.Context) (err error)

HandleInjectsGet gives back a list of injects

func HandleMedicalCaseCreate

func HandleMedicalCaseCreate(c echo.Context) (err error)

HandleMedicalCaseCreate updates a medical case from a formdata object

func HandleMedicalCaseDelete

func HandleMedicalCaseDelete(c echo.Context) (err error)

HandleMedicalCaseDelete updates a medical case

func HandleMedicalCaseEdit

func HandleMedicalCaseEdit(c echo.Context) (err error)

HandleMedicalCaseEdit creates a medical case from a formdata object

func HandleMedicalCaseFileDelete

func HandleMedicalCaseFileDelete(c echo.Context) error

HandleMedicalCaseFileDelete deletes a specific file of a medical case

func HandleMedicalCaseFileGet

func HandleMedicalCaseFileGet(c echo.Context) error

HandleMedicalCaseFileGet serves the files for a medical case

func HandleMedicalCaseFind

func HandleMedicalCaseFind(c echo.Context) (err error)

HandleMedicalCaseFind returns a medical case

func HandleMedicalCaseGet

func HandleMedicalCaseGet(c echo.Context) (err error)

HandleMedicalCaseGet returns medical cases in a short version

func HandleRegister

func HandleRegister(c echo.Context) (err error)

HandleRegister provides the registration endpoint for the api

func HandleTeamCreate

func HandleTeamCreate(c echo.Context) (err error)

HandleTeamCreate creates a team by a given json

func HandleTeamDelete

func HandleTeamDelete(c echo.Context) (err error)

HandleTeamDelete deletes an team

func HandleTeamEdit

func HandleTeamEdit(c echo.Context) (err error)

HandleTeamEdit updates an team

func HandleTeamFind

func HandleTeamFind(c echo.Context) (err error)

HandleTeamFind returns a team

func HandleTeamsGet

func HandleTeamsGet(c echo.Context) (err error)

HandleTeamsGet gives back a list of teams

func HandleUserFind

func HandleUserFind(c echo.Context) (err error)

HandleUserFind lets a user load his data

func HandleUserGet

func HandleUserGet(c echo.Context) (err error)

HandleUserGet gives back a list of users

func Server

func Server() (*echo.Echo, error)

Server provides the server for the api

Types

This section is empty.

Jump to

Keyboard shortcuts

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