func DBRest(httpMethod string, w http.ResponseWriter, req *http.Request) {
	var (
		dbAction      string
		responseBytes []byte
		axnStatus     bool
	)
	switch httpMethod {
	case "GET":
		dbAction = "read"
	case "POST", "PUT":
		dbAction = "push"
	case "DELETE":
		dbAction = "delete"
	default:
		return
	}
	packet := PacketFromHTTPRequest(dbAction, req)
	if packet.DBAction != "" {
		responseBytes, axnStatus = DBTasksOnPacket(packet)
		DBRestResponse(w, req, responseBytes, axnStatus)
	}
}
/*
DBRest enables HTTP to formulate DBTasks call from HTTP Request.
package goshare
import (
	"fmt"
	"net/http"
	"runtime"
	"strings"
	"time"
	golhashmap "github.com/abhishekkr/gol/golhashmap"
	goltime "github.com/abhishekkr/gol/goltime"
	"github.com/abhishekkr/goshare/httpd"
)