Kotlin Fission
This small wrapper allows you to easilly run kotlin native functions in fission.io
Usage
Writing your function
Following the example of the simple echo function,
First add the dependency (com.vexdev:kotlin-fission) to your kotlin-native project:
repositories {
mavenCentral()
}
kotlin {
sourceSets {
val nativeMain by getting {
dependencies {
implementation("com.vexdev:kotlin-fission:1.0.0")
}
}
}
}
And then register your function in the main:
Deployment
Kotlin-fission requires a specialised environment in fission.io.
This environment is available on docker-hub and can be used as follows: