Hey fellow Gophers. This is a small but rather complete exercise to demonstrate writing a Go web service that runs on AWS Lambda while retaining the capability of running it off-cloud as a stand-alone server:
https://github.com/HouzuoGuo/optionalcloud Features: - Authenticate a user via username/password combination read from SQL database, return a JWT if authorized. - Decrypt JWT from incoming HTTP request and respond with decrypted token structure. - Run stand-alone HTTP server if the executable is invoked with an arbitrary parameter. Kind regards, Howard -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.