mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
minor
This commit is contained in:
@@ -86,7 +86,6 @@ func (s *Server) serve(c *gin.Context, appName, path string) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
err = doCall(call)
|
|
||||||
err = s.Agent.Submit(call)
|
err = s.Agent.Submit(call)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// NOTE if they cancel the request then it will stop the call (kind of cool),
|
// NOTE if they cancel the request then it will stop the call (kind of cool),
|
||||||
|
|||||||
@@ -19,7 +19,8 @@ The following listener types are supported:
|
|||||||
|
|
||||||
### Creating a Listener
|
### Creating a Listener
|
||||||
|
|
||||||
You can easily use app and runner listeners by creating a struct with valid methods satisfying the interface for the respective listener and adding it to the Fn API
|
You can easily use add listeners by creating a struct with valid methods satisfying the interface
|
||||||
|
for the respective listener, adding it to `main.go` then compiling.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user