moov-io / watchman

AML/CTF/KYC/OFAC Search of global watchlist and sanctions
https://moov-io.github.io/watchman/
Apache License 2.0
331 stars 87 forks source link

refactor: break apart cmd/server main package #467

Open adamdecaf opened 1 year ago

adamdecaf commented 1 year ago

This package has grown quite large and is costly to build. We should structure the code better for the future.

elovelan commented 2 months ago

Assuming I'm understanding this short description, this could also allow hosting flexibility such as using the AWS Lambda Go API Proxy for Gorilla Mux to host in Lambda. (FWIW, we're currently looking at using the AWS Lambda Web Adapter, which I suspect will be far less performant!)

I'm happy to contribute if you can share more of your thoughts around this refactor @adamdecaf.