init
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
import { Application, ChannelService, FrontendSession, RemoterClass, HandlerService, } from 'pinus';
|
||||
export default function (app: Application) {
|
||||
new HandlerService(app, {});
|
||||
return new GateRemote(app);
|
||||
}
|
||||
|
||||
export class GateRemote {
|
||||
|
||||
constructor(private app: Application) {
|
||||
this.app = app;
|
||||
this.channelService = app.get('channelService');
|
||||
}
|
||||
|
||||
private channelService: ChannelService;
|
||||
|
||||
}
|
||||
import { Application, ChannelService, FrontendSession, RemoterClass, HandlerService, } from 'pinus';
|
||||
export default function (app: Application) {
|
||||
new HandlerService(app, {});
|
||||
return new GateRemote(app);
|
||||
}
|
||||
|
||||
export class GateRemote {
|
||||
|
||||
constructor(private app: Application) {
|
||||
this.app = app;
|
||||
this.channelService = app.get('channelService');
|
||||
}
|
||||
|
||||
private channelService: ChannelService;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user