Documentation ¶ Index ¶ func GetRoutes(db *gorm.DB, JWTSecret string, BuilderEndpoint string, ...) *gin.Engine type Controller Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetRoutes ¶ func GetRoutes(db *gorm.DB, JWTSecret string, BuilderEndpoint string, minioClient *minio.Client, scheduler scheduler.Scheduler) *gin.Engine Types ¶ type Controller ¶ type Controller struct { DB *gorm.DB } Controller for the whole API, all endpoints should be implemented on this struct. This allows to have a single point of access to the database and other services. Source Files ¶ View all Source files controller.go router.go Directories ¶ Show internal Expand all Path Synopsis function user Click to show internal directories. Click to hide internal directories.