mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
make an OutputModule interface and remove output from modules that don't implement it
This commit is contained in:
@@ -10,6 +10,9 @@ type Module interface {
|
||||
Type() string
|
||||
Start(context.Context) error
|
||||
Stop()
|
||||
}
|
||||
|
||||
type OutputModule interface {
|
||||
Output(context.Context, any) error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user