2019-08-20 16:42:52 +00:00
|
|
|
import * as plugins from './smartproxy.plugins';
|
|
|
|
import * as interfaces from './interfaces';
|
|
|
|
|
|
|
|
export class SmartProxy {
|
|
|
|
|
|
|
|
public hostCandidates: interfaces.IHostConfig[] = [];
|
|
|
|
|
|
|
|
public addHostCandidate(hostCandidate: interfaces.IHostConfig) {
|
|
|
|
// TODO search for old hostCandidates with that target
|
|
|
|
this.hostCandidates.push(hostCandidate);
|
2019-08-20 16:43:15 +00:00
|
|
|
}
|
2019-08-20 16:42:52 +00:00
|
|
|
|
2019-08-21 21:54:55 +00:00
|
|
|
async start () {
|
2019-08-21 21:41:06 +00:00
|
|
|
|
2019-08-20 16:42:52 +00:00
|
|
|
}
|
|
|
|
|
2019-08-21 21:54:55 +00:00
|
|
|
async stop () {
|
|
|
|
|
2019-08-20 16:42:52 +00:00
|
|
|
}
|
2019-08-21 21:41:06 +00:00
|
|
|
|
2019-08-21 21:54:55 +00:00
|
|
|
|
2019-08-20 16:42:52 +00:00
|
|
|
}
|