aboutsummaryrefslogtreecommitdiff
path: root/services/docker/mail-server/aws-sendmail/main.ts
blob: 7702c75b757e0868d2e1f347407393ebcb476811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { AwsContext } from "./aws.ts";
import { MailTrafficHandler } from "./traffic.ts";
import { Logger, setLogger } from "./logger.ts";

class App {
  readonly aws = new AwsContext();
  readonly mailTrafficDeliverer = new MailTrafficHandler(this.aws);

  constructor() {
    setLogger(new Logger("log"));
  }
}

if (import.meta.main) {
  const app = new App();
}