Hands-On Serverless Applications with Kotlin
上QQ阅读APP看书,第一时间看更新

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