Documentation
¶
Index ¶
- func InitiateCoursesMicroservice(router *gin.Engine)
- func InitiateGradesMicroservice(router *gin.Engine)
- func InitiateHomeWorkMicroservice(router *gin.Engine)
- func InitiateRoutes(router *gin.Engine)
- func InitiateStaffMicroservice(router *gin.Engine)
- func InitiateStudentsMicroservice(router *gin.Engine)
- func RegisterCoursesRoutes(router *gin.Engine) (courseProtos.CourseServiceClient, error)
- func RegisterGradesRoutes(router *gin.Engine) (gradesProtos.GradesServiceClient, error)
- func RegisterHomeWorkRoutes(router *gin.Engine) (homeworkProtos.HomeworkServiceClient, error)
- func RegisterMicroservices(router *gin.Engine)
- func RegisterStaffRoutes(router *gin.Engine) (staffProtos.StaffServiceClient, error)
- func RegisterStudentsRoutes(router *gin.Engine) (studentsProtos.StudentsServiceClient, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitiateCoursesMicroservice ¶
InitiateCoursesMicroservice initialize courses microservice
func InitiateGradesMicroservice ¶
InitiateGradesMicroservice initialize grades microservice
func InitiateHomeWorkMicroservice ¶
InitiateHomeWorkMicroservice initialize homework microservice
func InitiateRoutes ¶
InitiateRoutes initializes all routes for the API Gateway
func InitiateStaffMicroservice ¶
InitiateStaffMicroservice initialize staff microservice
func InitiateStudentsMicroservice ¶
InitiateStudentsMicroservice initialize students microservice
func RegisterCoursesRoutes ¶
func RegisterCoursesRoutes(router *gin.Engine) (courseProtos.CourseServiceClient, error)
func RegisterGradesRoutes ¶
func RegisterGradesRoutes(router *gin.Engine) (gradesProtos.GradesServiceClient, error)
func RegisterHomeWorkRoutes ¶
func RegisterHomeWorkRoutes(router *gin.Engine) (homeworkProtos.HomeworkServiceClient, error)
func RegisterMicroservices ¶
RegisterMicroservices registers the microservices.
func RegisterStaffRoutes ¶
func RegisterStaffRoutes(router *gin.Engine) (staffProtos.StaffServiceClient, error)
func RegisterStudentsRoutes ¶
func RegisterStudentsRoutes(router *gin.Engine) (studentsProtos.StudentsServiceClient, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.