mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-09-04 20:58:59 +00:00
switch modules to accept an InputHandler instead of the full router
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package common
|
||||
|
||||
type WrappedPayload struct {
|
||||
Payload any
|
||||
Router RouteIO
|
||||
Modules map[string]Module
|
||||
Source string
|
||||
End bool
|
||||
Payload any
|
||||
InputHandler InputHandler
|
||||
Modules map[string]Module
|
||||
Source string
|
||||
End bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user