Crate trillium_aws_lambda
source ·Expand description
§Trillium server adapter for aws lambda
trillium_aws_lambda::run(|conn: trillium::Conn| async move {
conn.ok("hello lambda")
});
Traits§
- Provides access to the aws lambda context for
trillium::Conn
.
Functions§
- Runs a trillium handler in a sync context
- Runs a trillium handler on an already-running tokio runtime