quote.go 254 B

123456789101112131415
  1. package router
  2. import (
  3. "mtp20access/api/v1/quote"
  4. "github.com/gin-gonic/gin"
  5. )
  6. func InitQuotePrivateRouter(r *gin.RouterGroup) {
  7. mqR := r.Group("Quote").Use()
  8. {
  9. mqR.GET("WS", quote.Quote)
  10. mqR.POST("QuoteSubscribe", quote.QuoteSubscribe)
  11. }
  12. }