Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CardService ¶
type CardService interface {
GetCard(ctx context.Context, condition protomodels.CardIndex) (protomodels.Card, error)
CreateCard(ctx context.Context, card protomodels.Card) error
// renew the review date
EditCard(ctx context.Context, card protomodels.Card) error
ListCards(ctx context.Context, req storage.ListCardsRequest) ([]protomodels.Card, error)
ListIndices(ctx context.Context) ([]protomodels.CardIndex, error)
GetAssociations(ctx context.Context, cardIndex protomodels.CardIndex) (protomodels.RelatedCards, error)
CreateAssociations(ctx context.Context, conditions storage.CreateAssociationConditions) error
// return url
SearchWithDictionary(ctx context.Context, cardIndex protomodels.CardIndex) ([]string, error)
}
type ExerciseService ¶
type LogService ¶
Click to show internal directories.
Click to hide internal directories.