Documentation
¶
Overview ¶
IronFunctions daemon
Refer to detailed documentation at https://github.com/iron-io/functions/tree/master/docs
Environment Variables: DB_URL The database URL to use in URL format. See [Databases](databases/README.md) for more information. Default: BoltDB in current working directory `bolt.db`.
MQ_URL The message queue to use in URL format. See [Message Queues](mqs/README.md) for more information. Default: BoltDB in current working directory `queue.db`.
API_URL The primary IronFunctions API URL to that this instance will talk to. In a production environment, this would be your load balancer URL.
PORT Sets the port to run on. Default: `8080`.
NUM_ASYNC The number of async runners in the functions process (default 1).
LOG_LEVEL Set to `DEBUG` to enable debugging. Default: INFO.
Directories
¶
Path | Synopsis |
---|---|
server
TODO: it would be nice to move these into the top level folder so people can use these with the "functions" package, eg: functions.ApiHandler
|
TODO: it would be nice to move these into the top level folder so people can use these with the "functions" package, eg: functions.ApiHandler |
server/internal/routecache
Package routecache is meant to assist in resolving the most used routes at an application.
|
Package routecache is meant to assist in resolving the most used routes at an application. |
benchmarks
|
|
hotel_hotels
command
|
|
hotel_reservation
command
|
|
original/hotel_hotels
command
|
|
original/hotel_user
command
|
|
examples
|
|
blog
command
|
|
extensions
command
|
|
hello/go
command
|
|
hotfunctions/http
command
|
|
jwt
command
|
|
middleware
command
|
|
postgres
command
|
|
redis
command
|
|
testframework/local
command
|
|
testframework/remote
command
|
|
twitter
command
|
|
fnlb
command
|
|
test
|
|
fnlb-test-harness
command
|
|
fnlb-test-harness/primes-func
command
|
|