quizRoutes

package
v0.0.0-...-ceb791f Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QuizGetNewWord

func QuizGetNewWord(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func QuizPostNewQuizWords

func QuizPostNewQuizWords(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func QuizPostVerifyWord

func QuizPostVerifyWord(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

Types

type WordResp

type WordResp struct {
	QuizId      int    `json:"quizId"`
	Name        string `json:"name"`
	Translation string `json:"translation"`
}

Jump to

Keyboard shortcuts

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