Files
fn-serverless/docs/extending.md
Travis Reeder 41c06644d9 Docs related to running in production. (#174)
* Fixed up api.md, removed Titan references.

* Adding more documentation on running in production.

* Update deps for ironmq.
2016-10-17 11:31:58 -07:00

530 B

Extending IronFunctions

IronFunctions is extensible so you can add custom functionality and extend the project without needing to modify the core.

Listeners

Listeners are the main way to extend IronFunctions.

To add listeners, copy main.go into your own repo and add your own listener implementations. When ready, compile your main package to create your extended version of IronFunctions.

AppListener

Implement ifaces/AppListener interface, then add it using:

server.AddAppListener(myAppListener)