study

package
v0.0.0-...-e3cadf0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoints

type Endpoints struct {
	// contains filtered or unexported fields
}

func New

func (*Endpoints) RandomCard

func (e *Endpoints) RandomCard(w http.ResponseWriter, r *http.Request)

RandomCard is a handler for getting a random card.

func (*Endpoints) RandomCardDeck

func (e *Endpoints) RandomCardDeck(w http.ResponseWriter, r *http.Request)

RandomCardDeck is a handler for getting a random card from the deck.

func (*Endpoints) RandomMatching

func (e *Endpoints) RandomMatching(w http.ResponseWriter, r *http.Request)

RandomMatching is a handler for getting a random matching exercise.

func (*Endpoints) RandomMatchingDeck

func (e *Endpoints) RandomMatchingDeck(w http.ResponseWriter, r *http.Request)

RandomMatchingDeck is a handler for getting a random matching exercise.

func (*Endpoints) RandomNCards

func (e *Endpoints) RandomNCards(w http.ResponseWriter, r *http.Request)

RandomNCards is a handler for getting n random card.

func (*Endpoints) RandomNCardsDeck

func (e *Endpoints) RandomNCardsDeck(w http.ResponseWriter, r *http.Request)

RandomNCardsDeck is a handler for getting n random card.

func (*Endpoints) RandomText

func (e *Endpoints) RandomText(w http.ResponseWriter, r *http.Request)

RandomText is a handler for getting a random text exercise.

func (*Endpoints) RandomTextDeck

func (e *Endpoints) RandomTextDeck(w http.ResponseWriter, r *http.Request)

RandomTextDeck is a handler for getting a random text exercise.

func (*Endpoints) Rate

func (e *Endpoints) Rate(w http.ResponseWriter, r *http.Request)

Rate is a handler for rating a card in Leitner's system.

Jump to

Keyboard shortcuts

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