Replaced legacy `*.orly` module imports with `next.orly.dev/pkg` paths across the codebase for consistency. Removed legacy `go.mod` files from sub-packages, consolidating dependency management. Added Dockerfiles and configurations for benchmarking environments.
15 lines
200 B
Go
15 lines
200 B
Go
package publisher
|
|
|
|
import (
|
|
"next.orly.dev/pkg/encoders/event"
|
|
"next.orly.dev/pkg/interfaces/typer"
|
|
)
|
|
|
|
type I interface {
|
|
typer.T
|
|
Deliver(ev *event.E)
|
|
Receive(msg typer.T)
|
|
}
|
|
|
|
type Publishers []I
|