12 lines
190 B
Go
12 lines
190 B
Go
package appregistry
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func RegisterRoutes(protected *gin.RouterGroup, h *Handler) {
|
|
if h == nil {
|
|
return
|
|
}
|
|
|
|
protected.GET("/admin/apps", h.ListApps)
|
|
}
|