Documentation
¶
Index ¶
- func Start(ip string, port int, repository repository.QuestionsRepository, ...)
- type QuestionsServer
- func (qs *QuestionsServer) GenerateQuestionSet(ctx context.Context, ...) (*connect.Response[questionsv1.GenerateQuestionSetResponse], error)
- func (qs *QuestionsServer) GetQuestionSet(ctx context.Context, r *connect.Request[questionsv1.GetQuestionSetRequest]) (*connect.Response[questionsv1.GetQuestionSetResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(ip string, port int, repository repository.QuestionsRepository, logger *slog.Logger, ts telemetry.TelemetryService)
Types ¶
type QuestionsServer ¶
type QuestionsServer struct { questionsv1connect.UnimplementedQuestionsServiceHandler // contains filtered or unexported fields }
func (*QuestionsServer) GenerateQuestionSet ¶
func (qs *QuestionsServer) GenerateQuestionSet(ctx context.Context, r *connect.Request[questionsv1.GenerateQuestionSetRequest]) (*connect.Response[questionsv1.GenerateQuestionSetResponse], error)
func (*QuestionsServer) GetQuestionSet ¶
func (qs *QuestionsServer) GetQuestionSet(ctx context.Context, r *connect.Request[questionsv1.GetQuestionSetRequest]) (*connect.Response[questionsv1.GetQuestionSetResponse], error)
Click to show internal directories.
Click to hide internal directories.