mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-15 12:12:08 +08:00
47 lines
603 B
JavaScript
47 lines
603 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Cross
|
|
* @class
|
|
*/
|
|
class CrossController {
|
|
|
|
/**
|
|
* View process service information
|
|
*/
|
|
info() {
|
|
|
|
}
|
|
|
|
/**
|
|
* Get service url
|
|
*/
|
|
async getUrl(args) {
|
|
|
|
}
|
|
|
|
/**
|
|
* kill service
|
|
* By default (modifiable), killing the process will exit the electron application.
|
|
*/
|
|
async killServer(args) {
|
|
|
|
}
|
|
|
|
/**
|
|
* create service
|
|
*/
|
|
async createServer(args) {
|
|
|
|
}
|
|
|
|
/**
|
|
* Access the api for the cross service
|
|
*/
|
|
async requestApi(args) {
|
|
|
|
}
|
|
}
|
|
|
|
CrossController.toString = () => '[class CrossController]';
|
|
module.exports = CrossController;
|