Documentation ¶
Index ¶
- type API
- func (a *API) GetCard(w http.ResponseWriter, r *http.Request)
- func (a *API) GetCards(w http.ResponseWriter, r *http.Request)
- func (a *API) GetDeck(w http.ResponseWriter, r *http.Request)
- func (a *API) GetDecks(w http.ResponseWriter, r *http.Request)
- func (a *API) GetFields(w http.ResponseWriter, r *http.Request)
- func (a *API) GetNextCard(w http.ResponseWriter, r *http.Request)
- func (a *API) GetNote(w http.ResponseWriter, r *http.Request)
- func (a *API) GetNotes(w http.ResponseWriter, r *http.Request)
- func (a *API) NewRouter()
- func (a *API) Run(port int)
- func (a *API) Write(w http.ResponseWriter, i string)
- type Card
- type Cards
- type Deck
- type Decks
- type Field
- type Fields
- type Links
- type Note
- type Notes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
func (*API) GetNextCard ¶
func (a *API) GetNextCard(w http.ResponseWriter, r *http.Request)
type Card ¶
type Card struct { ID string `json:"id"` *Notes `json:"-"` Question string `json:"question"` Answer string `json:"answer"` // contains filtered or unexported fields }
func NewLanguageCard ¶
func NewLanguageCard() *Card
type Decks ¶
func (*Decks) SetPrimary ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.