1
0
mirror of https://github.com/boku7/Loki synced 2026-06-06 15:24:27 +00:00
Files
boku7-Loki/client/agent.js
T
2025-04-03 12:54:39 -07:00

37 lines
518 B
JavaScript

class Container
{
constructor(name, key = {}, blobs = {})
{
this.name = null || name;
this.key = {} || key;
this.blobs = {} || blobs;
}
setName(name) {
this.name = name;
}
setKey(key) {
this.key = {
'key' : key.key,
'iv' : key.iv
};
}
}
class Agent
{
constructor(agentId, containerObject)
{
this.agentid = null || agentId;
this.container = null || containerObject;
this.BrowserWindow = null;
}
}
module.exports = {
Container,
Agent
};