Merge pull request #424 from fnproject/call-listener

CallListener - replaces RunnerListener
This commit is contained in:
Reed Allman
2017-10-26 10:36:14 -07:00
committed by GitHub
10 changed files with 111 additions and 79 deletions

View File

@@ -17,6 +17,7 @@ import (
"github.com/fnproject/fn/api/common"
"github.com/fnproject/fn/api/datastore"
"github.com/fnproject/fn/api/datastore/cache"
"github.com/fnproject/fn/api/extensions"
"github.com/fnproject/fn/api/id"
"github.com/fnproject/fn/api/logs"
"github.com/fnproject/fn/api/models"
@@ -47,9 +48,8 @@ type Server struct {
MQ models.MessageQueue
LogDB models.LogStore
appListeners []AppListener
middlewares []Middleware
runnerListeners []RunnerListener
appListeners []extensions.AppListener
middlewares []Middleware
}
// NewFromEnv creates a new Functions server based on env vars.