implemented event and req
This commit is contained in:
14
pkg/interfaces/publisher/publisher.go
Normal file
14
pkg/interfaces/publisher/publisher.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package publisher
|
||||
|
||||
import (
|
||||
"encoders.orly/event"
|
||||
"interfaces.orly/typer"
|
||||
)
|
||||
|
||||
type I interface {
|
||||
typer.T
|
||||
Deliver(ev *event.E)
|
||||
Receive(msg typer.T)
|
||||
}
|
||||
|
||||
type Publishers []I
|
||||
Reference in New Issue
Block a user