watchman
watchman copied to clipboard
refactor: break apart cmd/server main package
This package has grown quite large and is costly to build. We should structure the code better for the future.
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.
Large part of this completed in https://github.com/moov-io/watchman/commit/ce5ca42ea865adb2c113127e80b215c6b28781da