1 | import './translator';
|
2 | export { router, wrouter, Request, Response, HttpRouter, CallbackResponse } from './router';
|
3 | export * from './helpers/mkdirp';
|
4 |
|
5 | import './http'
|
6 | export * from './http'
|
7 | import * as worker from './worker-meta'
|
8 | export { worker };
|
9 | import * as master from './master-meta';
|
10 | export { master };
|
11 | import * as net from 'net'
|
12 |
|
13 | export type resolve = worker.resolve;
|
14 |
|
15 | import { description } from './commands'
|
16 | export { description }
|
17 | export { State } from './state'
|
18 |
|
19 | import * as commands from '@akala/commands'
|
20 |
|
21 | export function connect(socket: net.Socket): commands.Container<void> & description.commands
|
22 | {
|
23 | return commands.proxy(require('../commands.json'), c => new commands.Processors.JsonRpc(commands.Processors.JsonRpc.getConnection(new commands.NetSocketAdapter(socket), c)));
|
24 | }
|
25 |
|
26 | export { Logger, logger, log } from './logger' |
\ | No newline at end of file |