()
| 71 | } |
| 72 | |
| 73 | func (controller *ProxyController) SetupRoutes() { |
| 74 | proxyGroup := controller.router.Group("/auth") |
| 75 | proxyGroup.Any("/:proxy", controller.proxyHandler) |
| 76 | } |
| 77 | |
| 78 | func (controller *ProxyController) proxyHandler(c *gin.Context) { |
| 79 | // Load proxy context based on the request type |
no outgoing calls