mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
14 lines
383 B
Markdown
14 lines
383 B
Markdown
IronFunctions is extensible so you can add custom functionality and extend the project without needing to modify the core.
|
|
|
|
## Listeners
|
|
|
|
This is the main way to do it. To add listeners, copy main.go and use one of the following functions on the Server.
|
|
|
|
### AppListener
|
|
|
|
Implement `ifaces/AppListener` interface, then add it using:
|
|
|
|
```go
|
|
server.AddAppListener(myAppListener)
|
|
```
|