feat(backend-db/heuristics): fixed errors in main files
This commit is contained in:
parent
88bec7ab60
commit
ae6af1449c
2 changed files with 3 additions and 3 deletions
|
|
@ -31,9 +31,9 @@ func main() {
|
|||
defer pg.Close()
|
||||
|
||||
// HandlersFabric returns the list of message handlers we want to be applied to each incoming message.
|
||||
handlersFabric := func() {
|
||||
handlersFabric := func() []handlers.MessageProcessor {
|
||||
return []handlers.MessageProcessor{
|
||||
custom.EventMapper{},
|
||||
&custom.EventMapper{},
|
||||
custom.NewInputEventBuilder(),
|
||||
custom.NewPageEventBuilder(),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ func main() {
|
|||
cfg := ender.New()
|
||||
|
||||
// HandlersFabric returns the list of message handlers we want to be applied to each incoming message.
|
||||
handlersFabric := func() {
|
||||
handlersFabric := func() []handlers.MessageProcessor {
|
||||
return []handlers.MessageProcessor{
|
||||
// web handlers
|
||||
&web.ClickRageDetector{},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue