Repository

v-lambda

Libraries to help V developers develop AWS Lambda functions.

Installation

$ v install koki-develop.lambda

Usage

module main

import koki_develop.lambda
import json

struct Input {
    // ...
}

fn main() {
    lambda.start(handler)!
}

fn handler(ctx lambda.Context, event string) !string {
    input := json.decode(Input, event)!

    return json.encode({
        'success': true
    })
}

For actual usage examples, please refer to koki-develop/vlang-aws-lambda-example .

LICENSE

MIT

About

Libraries to help V developers develop AWS Lambda functions.

0
1
last Jan 7

Author

koki-develop