aboutsummaryrefslogtreecommitdiff
path: root/services/docker/mail-server/aws-sendmail/main.ts
blob: 7207188e7c1653467207724c5f0c761dee27392b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { AwsContext } from "./aws/base.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();
}