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

class BugError extends Error {
}

function warn(message: string) {
}

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();
}