code: func (h *Handler) Handle(w http.ResponseWriter, r *http.Request) error {
  	var newExpiryTime = 7 * helpers.OneDay
  
  	certs, err := h.dbAccessor.GetRevokedAndUnexpiredCertificates()
  	if err != nil {
  		return err
  	}
  
  	queryExpiryTime := r.URL.Query().Get("expiry")
  	if queryExpiryTime != "" {
  		log.Infof("requested expiry time of %s", queryExpiryTime)
  		newExpiryTime, err = time.ParseDuration(queryExpiryTime)
  		if err != nil {
  			return err
  		}
  	}
  
  	result, err := crl.NewCRLFromDB(certs, h.ca, h.key, newExpiryTime)
  	if err != nil {
  		return err
  	}
  
  	return api.SendResponse(w, result)
  }
docs: // Handle responds to revocation requests. It attempts to revoke
  // a certificate with a given serial number