mq.go 332 B

123456789101112131415161718192021
  1. package router
  2. import (
  3. "mtp20access/api/v1/mq"
  4. "github.com/gin-gonic/gin"
  5. )
  6. func InitMQPublicRouter(r *gin.RouterGroup) {
  7. mqR := r.Group("MQ").Use()
  8. {
  9. mqR.POST("SendNtfToMQ", mq.SendNtfToMQ)
  10. }
  11. }
  12. func InitMQPrivateRouter(r *gin.RouterGroup) {
  13. mqR := r.Group("MQ").Use()
  14. {
  15. mqR.POST("SendMsgToMQ", mq.SendMsgToMQ)
  16. }
  17. }