blob: dcc2af1cb58b5274a66e63c758474fbb20f8927b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { AwsContext } from "./aws/context.ts";
import { MailTrafficHandler } from "./traffic.ts";
import { Logger, setLogger } from "./logger.ts";
import { Config, setConfig } from "./config.ts";
class App {
readonly aws = new AwsContext();
readonly mailTrafficDeliverer = new MailTrafficHandler(this.aws);
constructor() {
setLogger(new Logger("log"));
setConfig(new Config());
}
}
if (import.meta.main) {
const app = new App();
}
|