routing.go 222 B

1234567891011
  1. package httpserver
  2. import "github.com/gin-gonic/gin"
  3. func RegisterRoutes(e *gin.Engine, cfg *HttpServerConfig) {
  4. c := NewController(cfg)
  5. web := e.Group("")
  6. // web.POST("/", c.Post)
  7. web.Any("/*ProxiedPath", c.Get)
  8. }