mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* moving documentation around to be more clear and easier to browse - moved assets into their own directory and updated links to them - moved operating docs into their own directory - consolidated kubernetes docs - added docker-swarm folder for docs - updated docs layout in docs/README.md to reflect the changes and make it easier to read * docs: s/Operating Functions/Operating IronFunctions/ * docs: removing duplicate database link * docs: moving databases into general docs * docs: moving databases/mqs back * docs: removing memory.md (duplicate of operating/routes.md) * docs: converting to markdown bullets
530 B
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)