mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-08-22 14:28:58 +00:00
move module interface to common package
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type Module interface {
|
||||
Id() string
|
||||
Type() string
|
||||
Start(context.Context) error
|
||||
Stop()
|
||||
Output(context.Context, any) error
|
||||
}
|
||||
Reference in New Issue
Block a user