This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const spawn = require('child_process').spawn, | |
| LineStream = require('./byline.js').LineStream; | |
| function ndpiReader(params, cb) | |
| { | |
| let subproc = null; | |
| let p = new Promise((resolv, reject) => { | |
| const lineStream = new LineStream(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { spawn } = require('child_process'); | |
| const { LineStream } = require('./byline.js'); | |
| class ndpiReader { | |
| constructor(options = {}) { | |
| this.iface = options.iface; | |
| this.subproc = null; | |
| if(!options.iface) | |
| throw Error("ndpiReader: network is not defined!"); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const Sequelize = require('sequelize'); | |
| class Orm { | |
| constructor(dbname, user, password, tables) { | |
| this.dbname = dbname; | |
| this.user = user; | |
| this.password = password; | |
| this.tables = tables; | |
| this.sequelize = new Sequelize(this.dbname, this.user, this.password, { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <v-container> | |
| <template v-if="request !== ''"> | |
| <v-card max-width="500" elevation="10"> | |
| <v-card-title class="font-weight-bold ml-8 mb-2"> | |
| <Request :request="request" /> | |
| </v-card-title> | |
| <v-card-text> | |
| <div class="font-weight-bold ml-8 mb-2"> | |
| История заявки |
OlderNewer