Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAnswerRoutes ¶
func NewAnswerRoutes(handler *gin.RouterGroup, t AnswerService, l *slog.Logger)
func NewQuestionRoutes ¶
func NewQuestionRoutes(handler *gin.RouterGroup, t QuestionService, l *slog.Logger)
func NewRouter ¶
func NewRouter(handler *gin.Engine, l *slog.Logger, t QuestionService, a AnswerService)
Types ¶
type AnswerService ¶
type AnswerService interface {
CheckAnswer(ctx context.Context, in *pb.AnswerRequest) (*pb.AnswerResponse, error)
}
Click to show internal directories.
Click to hide internal directories.