softprops / serverless-rust

⚡ 🦀 a serverless framework plugin for rustlang applications
https://www.npmjs.com/package/serverless-rust
MIT License
542 stars 82 forks source link

Multiple handlers? #6

Closed sporto closed 6 years ago

sporto commented 6 years ago

Is it possible to have multiple handlers with one serverless.yml? Like https://github.com/serverless/examples/tree/master/aws-golang-simple-http-endpoint Seems I can only provide one. Thanks.

softprops commented 6 years ago

Hi @sporto this should be technically be possible but I don't have any examples to prove that. I'll see if I can do that this weekend

softprops commented 6 years ago

I crated a new example template with multiple http handlers here https://github.com/softprops/serverless-multi-lando

I'll also try to put together an example that mixes lando ( http focused ) with crowbar ( generic lambda event ) handlers soon