upload files into repos
This commit is contained in:
parent
4f9a1b8fa2
commit
26f3a75b2d
@ -12,6 +12,10 @@ class Main {
|
||||
method (methodObj) {
|
||||
this.methods[methodObj.path] = methodObj;
|
||||
}
|
||||
|
||||
call (method, params) {
|
||||
return this.methods[method.path].execute(params);
|
||||
}
|
||||
|
||||
router (returnMiddlewareFunction = true, middlewareFunction = (req, res, next) => next()) {
|
||||
let router = express.Router();
|
||||
|
@ -1 +1,22 @@
|
||||
// #
|
||||
class Method {
|
||||
constructor (path, params) {
|
||||
this.path = path;
|
||||
this.paramsCompiles = params;
|
||||
}
|
||||
|
||||
compileParams (
|
||||
headers,
|
||||
json,
|
||||
params,
|
||||
query,
|
||||
body,
|
||||
files,
|
||||
) {
|
||||
|
||||
}
|
||||
|
||||
execute () {}
|
||||
}
|
||||
|
||||
|
||||
module.exports = Method;
|
Loading…
Reference in New Issue
Block a user