routes

package
v0.0.0-...-3ac2e3e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitiateCoursesMicroservice

func InitiateCoursesMicroservice(router *gin.Engine)

InitiateCoursesMicroservice initialize courses microservice

func InitiateGradesMicroservice

func InitiateGradesMicroservice(router *gin.Engine)

InitiateGradesMicroservice initialize grades microservice

func InitiateHomeWorkMicroservice

func InitiateHomeWorkMicroservice(router *gin.Engine)

InitiateHomeWorkMicroservice initialize homework microservice

func InitiateRoutes

func InitiateRoutes(router *gin.Engine)

InitiateRoutes initializes all routes for the API Gateway

func InitiateStaffMicroservice

func InitiateStaffMicroservice(router *gin.Engine)

InitiateStaffMicroservice initialize staff microservice

func InitiateStudentsMicroservice

func InitiateStudentsMicroservice(router *gin.Engine)

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

func RegisterMicroservices(router *gin.Engine)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL