ftl

package module
v0.82.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

README

FTL README CI

Getting started

Install hermit, for example on macos:
brew install hermit
Create a sample project (kotlin)
mkdir myproject
cd myproject
git init .
hermit init .
. ./bin/activate-hermit
./bin/hermit install ftl
Create a kotlin module
ftl init kotlin . alice
Serve FTL in a seperate terminal

ftl serve

Deploy and test the module
ftl deploy ftl-module-alice
ftl call alice.echo '{"name": "Mic"}'
Remember to activate hermit any time you are in the project
. ./bin/activate-hermit

ftl hacking faster than light

Project Resources

Resource Description
CODEOWNERS Outlines the project lead(s)
CODE_OF_CONDUCT.md Expected behavior for project contributors, promoting a welcoming environment
CONTRIBUTING.md Developer guide to build, test, run, access CI, chat, discuss, file issues
GOVERNANCE.md Project governance
LICENSE Apache License, Version 2.0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Timestamp = "0"

Timestamp of FTL binary (set by linker).

View Source
var Version = "dev"

Version of FTL binary (set by linker).

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
backend
common/automaxprocs
Package automaxprocs sets GOMAXPROCS to match Linux container CPU quota.
Package automaxprocs sets GOMAXPROCS to match Linux container CPU quota.
common/goast
Package goast provides a useful visitor for the Go AST.
Package goast provides a useful visitor for the Go AST.
controller/dal
Package dal provides a data abstraction layer for the Controller
Package dal provides a data abstraction layer for the Controller
runner
Package runner contains a server that implements the RunnerService and proxies VerbService requests to user code.
Package runner contains a server that implements the RunnerService and proxies VerbService requests to user code.
cmd
ftl
examples
echo Module
time Module
compile
Package compile compiles FTL Go module source into a deployable executable.
Package compile compiles FTL Go module source into a deployable executable.
encoding
Package encoding defines the internal encoding that FTL uses to encode and decode messages.
Package encoding defines the internal encoding that FTL uses to encode and decode messages.
sdk
sdk/kvstore
Package kvstore provides a generic key-value store.
Package kvstore provides a generic key-value store.
protos

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL