Documentation ¶
Index ¶
- type AddStudentRequest
- type Admin
- type AhpRecommendation
- type Alternative
- type Answer
- type DeleteRecommendationRequest
- type DeleteStudentRequest
- type LoginRequest
- type LoginResponse
- type MessageResponse
- type Question
- type QuestionResponse
- type QuestionnareSetting
- type QuestionnareSettingAlternative
- type QuestionnareSettingRequest
- type QuestionnareStatusResponse
- type Recommendation
- type RecommendationResult
- type School
- type Statistic
- type Student
- type StudentProfile
- type StudentRecommendation
- type SubmitAnswerRequest
- type TopsisRecommendation
- type UpdateAdminRequest
- type UpdateStudentRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddStudentRequest ¶
type AhpRecommendation ¶
type AhpRecommendation struct { Result RecommendationResult `json:"result"` ConsistencyRatio float32 `json:"consistency_ratio"` }
type Alternative ¶
type DeleteRecommendationRequest ¶
type DeleteRecommendationRequest struct {
StudentId string `json:"student_id"`
}
type DeleteStudentRequest ¶
type DeleteStudentRequest struct {
Id string `json:"id"`
}
type LoginRequest ¶
type LoginResponse ¶
type MessageResponse ¶
type MessageResponse struct {
Message string `json:"message"`
}
type QuestionResponse ¶
type QuestionnareSetting ¶
type QuestionnareStatusResponse ¶
type QuestionnareStatusResponse struct {
Status string `json:"status"`
}
type Recommendation ¶
type Recommendation struct { Ahp AhpRecommendation `json:"ahp"` Topsis TopsisRecommendation `json:"topsis"` }
type RecommendationResult ¶
type StudentProfile ¶
type StudentRecommendation ¶
type StudentRecommendation struct { Fullname string `json:"fullname"` Nisn string `json:"nisn"` AhpResults []RecommendationResult `json:"ahp_results"` TopsisResults []RecommendationResult `json:"topsis_results"` Id int32 `json:"id"` ConsistencyRatio float32 `json:"consistency_ratio"` }
type SubmitAnswerRequest ¶
type TopsisRecommendation ¶
type TopsisRecommendation struct { Result RecommendationResult `json:"result"` Id int32 `json:"id"` }
type UpdateAdminRequest ¶
Click to show internal directories.
Click to hide internal directories.