-
Notifications
You must be signed in to change notification settings - Fork 58
DSL Overview
Vladislav.Tankov edited this page Jun 13, 2020
·
11 revisions
Domain Specific Languages used by Kotless provide a way of defining serverless applications.
Right now, there are two DSLs supported:
- Ktor DSL — Ktor engine that is introspected by Kotless. You are using standard Ktor syntax and Kotless generates deployment for it.
- Kotless DSL — Kotless own DSL that provides annotations to declare routing, scheduled events, etc.
The idea is that if you are already familiar with Ktor or are used to function-based declaration of routing, you should use that framework. If you prefer annotation APIs more — use Kotless DSL.