Added db configurations and Dockerfile
This commit is contained in:
@@ -3,6 +3,8 @@ package api
|
||||
import "net/http"
|
||||
|
||||
var Routes = map[string]func(w http.ResponseWriter, r *http.Request){
|
||||
"/": Hello,
|
||||
"/file": LoadFile,
|
||||
"GET /": Hello,
|
||||
"GET /file": GetFile,
|
||||
"POST /file": LoadFile,
|
||||
"DELETE /file": DeleteFile,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user