handlers

package
v0.0.0-...-7184739 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAnswer

func CheckAnswer(c echo.Context) error

CheckAnswer check if an answer is correct

func CreateQuestion

func CreateQuestion(c echo.Context) error

CreateQuestion creates a new question

func GetCategories

func GetCategories(c echo.Context) error

GetCategories get all categories

func GetStats

func GetStats(c echo.Context) error

GetStats get stats of the player

func GiveQuestion

func GiveQuestion(c echo.Context) error

GiveQuestion returns a question

Types

This section is empty.

Jump to

Keyboard shortcuts

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