22 lines
488 B
JavaScript
22 lines
488 B
JavaScript
// controllers/proxmoxController.js
|
|
const express = require('express');
|
|
const router = express.Router();
|
|
|
|
class ProxmoxController {
|
|
constructor() {
|
|
// Constructor logic if needed
|
|
}
|
|
|
|
getProxmoxData(req, res) {
|
|
// Proxmox 관련 컨트롤러 로직
|
|
}
|
|
|
|
// 다른 Proxmox API 관련 라우팅 및 로직 추가 가능
|
|
}
|
|
|
|
const proxmoxController = new ProxmoxController();
|
|
|
|
router.get('/', proxmoxController.getProxmoxData.bind(proxmoxController));
|
|
|
|
module.exports = router;
|