ftl

package module
v0.397.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README


FTL CI License

Documentation

https://tbd54566975.github.io/ftl/

Getting started

Install ftl, for example on macos:
brew tap TBD54566975/ftl && brew install ftl
Create a sample project (Go)
mkdir myproject
cd myproject
ftl init myproject .
ftl new go . alice
Build and deploy the module

Start FTL in one terminal:

ftl dev --wait-for=alice --recreate .

Then in a second terminal run the following:

ftl call alice.echo '{name: "Bob"}'

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

func IsRelease added in v0.96.9

func IsRelease(v string) bool

IsRelease returns true if the version is a release version.

func IsVersionAtLeastMin added in v0.173.0

func IsVersionAtLeastMin(v string, minVersion string) bool

IsVersionAtLeastMin returns true if any of the following are true:

  • minVersion is not defined (i.e. is emptystring)
  • v or minVersion is not a release version
  • v > minVersion when both v and minVersion are release versions

Types

This section is empty.

Directories

Path Synopsis
backend
controller/dal
Package dal provides a data abstraction layer for the Controller
Package dal provides a data abstraction layer for the Controller
controller/scheduledtask
Package scheduledtask implements a task scheduler.
Package scheduledtask implements a task scheduler.
controller/sql/migrate
Package migrate supports a dbmate-compatible superset of migration files.
Package migrate supports a dbmate-compatible superset of migration files.
libdal
Package libdal provides common types and functions for domain-specific DALs.
Package libdal provides common types and functions for domain-specific DALs.
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-gen-lsp
This program generates hover items for the FTL LSP server.
This program generates hover items for the FTL LSP server.
common
examples
echo Module
time Module
frontend
cli
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.
ftl
ftl/ftltest
Package ftltest contains test utilities for the ftl package.
Package ftltest contains test utilities for the ftl package.
automaxprocs
Package automaxprocs sets GOMAXPROCS to match Linux container CPU quota.
Package automaxprocs sets GOMAXPROCS to match Linux container CPU quota.
buildengine
Package buildengine provides a framework for building FTL modules.
Package buildengine provides a framework for building FTL modules.
configuration
Package configuration is the FTL configuration and secret management API.
Package configuration is the FTL configuration and secret management API.
configuration/dal
Package dal provides a data abstraction layer for managing module configurations
Package dal provides a data abstraction layer for managing module configurations
dev
goast
Package goast provides a useful visitor for the Go AST.
Package goast provides a useful visitor for the Go AST.
log
lsp
Code generated by 'just lsp-generate'.
Code generated by 'just lsp-generate'.
profiles/internal
Package internal manages the persistent profile configuration of the FTL CLI.
Package internal manages the persistent profile configuration of the FTL CLI.
reflect
Package reflect implements the proposal https://go.dev/issue/51520.
Package reflect implements the proposal https://go.dev/issue/51520.
rpc
schema/strcase
Package strcase provides programming case conversion functions for strings.
Package strcase provides programming case conversion functions for strings.
jvm-runtime

Jump to

Keyboard shortcuts

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