Project structure

The following code block shows the schematic of a Kotlin Lambda function. In the following code block, the handler function is com.packt.serverles.kotlin.greeter.Handler.kt:

greeter-service/ -build.gradle -src/     -main/       -kotlin/          -com.packt.serverless.kotlin.greeter/             - Handler.kt -gradle/      -wrapper/         -gradle-wrapper.jar          -gradle-wrapper.properties  -build/      -libs        -greeter-1.0.jar 

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.