probo/store/store.go

13 lines
320 B
Go
Raw Normal View History

2022-06-23 11:25:35 +02:00
package store
import (
2022-06-24 18:56:06 +02:00
"git.andreafazzi.eu/andrea/probo/client"
"git.andreafazzi.eu/andrea/probo/models"
2022-06-23 11:25:35 +02:00
)
type QuizHubCollectorStore interface {
ReadAllQuizzes() ([]*models.Quiz, error)
2022-06-24 18:56:06 +02:00
CreateQuiz(r *client.CreateQuizRequest) (*models.Quiz, error)
2022-06-28 13:49:35 +02:00
UpdateQuiz(r *client.UpdateQuizRequest) (*models.Quiz, error)
2022-06-23 11:25:35 +02:00
}