code: func eventByCreationTimeHandler(w http.ResponseWriter, r *http.Request) {
  	defer r.Body.Close()
  
  	vars := mux.Vars(r)
  	start, err := strconv.ParseInt(vars["start"], 10, 64)
  	// Problems converting start time
  	if err != nil {
  		http.Error(w, err.Error(), http.StatusBadRequest)
  		LoggingClient.Error("Problem converting start time: " + err.Error())
  		return
  	}
  
  	end, err := strconv.ParseInt(vars["end"], 10, 64)
  	// Problems converting end time
  	if err != nil {
  		http.Error(w, err.Error(), http.StatusBadRequest)
  		LoggingClient.Error("Problem converting end time: " + err.Error())
  		return
  	}
  
  	limit, err := strconv.Atoi(vars["limit"])
  	// Problems converting limit
  	if err != nil {
  		http.Error(w, err.Error(), http.StatusBadRequest)
  		LoggingClient.Error("Problem converting limit: " + strconv.Itoa(limit))
  		return
  	}
  
  	switch r.Method {
  	case http.MethodGet:
  		err := checkMaxLimit(limit)
  		if err != nil {
  			http.Error(w, maxExceededString, http.StatusRequestEntityTooLarge)
  			return
  		}
  
  		eventList, err := getEventsByCreationTime(limit, start, end)
  
  		if err != nil {
  			http.Error(w, err.Error(), http.StatusInternalServerError)
  			return
  		}
  
  		encode(eventList, w)
  	}
  }
docs: // Get events by creation time
  // {start} - start time, {end} - end time, {limit} - max number of results
  // Sort the events by creation date
  // 413 - number of results exceeds limit
  // 503 - service unavailable
  // api/v1/event/{start}/{end}/{limit}