mirror of
https://github.com/grassrootseconomics/eth-tracker.git
synced 2026-05-29 14:37:58 +02:00
release: v1.0.0-rc
This commit is contained in:
12
internal/pub/pub.go
Normal file
12
internal/pub/pub.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package pub
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/grassrootseconomics/celo-tracker/pkg/event"
|
||||
)
|
||||
|
||||
type Pub interface {
|
||||
Send(context.Context, event.Event) error
|
||||
Close()
|
||||
}
|
||||
Reference in New Issue
Block a user