Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrJWTServiceNotSet = errors.New("jwt service not set") ErrAuthServiceNotSet = errors.New("auth service not set") ErrExamServiceNotSet = errors.New("exam service not set") ErrParticipantServiceNotSet = errors.New("participant service not set") ErrQuestionServiceNotSet = errors.New("question service not set") ErrChoiceServiceNotSet = errors.New("choice service not set") ErrAnswerServiceNotSet = errors.New("answer service not set") ErrAttemptServiceNotSet = errors.New("attempt service not set") ErrAnalyticsServiceNotSet = errors.New("analytics service not set") )
View Source
var ErrAlreadyRunning = errors.New("grpc server is already running")
Functions ¶
This section is empty.
Types ¶
type ServiceContainer ¶
type ServiceContainer struct { JWTService jwt.Service AuthService auth.Service ExamService exam.Service ParticipantService participant.Service QuestionService question.Service ChoiceService choice.Service AnswerService answer.Service AttemptService attempt.Service AnalyticsService analytics.Service }
func (*ServiceContainer) Validate ¶
func (s *ServiceContainer) Validate() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.