func NewSmsEvent(w http.ResponseWriter, req *http.Request) {
	defer req.Body.Close()

	var sms models.Message
	err := json.NewDecoder(req.Body).Decode(&sms)
	if err != nil {
		http.Error(w, err.Error(), http.StatusBadRequest)
		return
	}

	go ConcurrencyHandler(sms)
}
// NewSmsEvent forwards the incoming request by concurrency
NewSmsEvent forwards the incoming request by concurrency
// NewSmsEvent forwards the incoming request by concurrency
func NewSmsEvent(w http.ResponseWriter, req *http.Request) {
	defer req.Body.Close()
	var sms models.Message
	err := json.NewDecoder(req.Body).Decode(&sms)
	if err != nil {
		http.Error(w, err.Error(), http.StatusBadRequest)
		return
	}
	go ConcurrencyHandler(sms)
}
func NewSmsEvent ( w http . ResponseWriter , req * http . Request ) { defer req . Body . Close ( ) var sms models . Message err := json . NewDecoder ( req . Body ) . Decode ( & sms ) if err != nil { http . Error ( w , err . Error ( ) , http . StatusBadRequest ) return } go ConcurrencyHandler ( sms ) }
NewSmsEvent forwards the incoming request by concurrency
NewSmsEvent forwards the incoming request by concurrency