mirror of
https://github.com/grassrootseconomics/cic-custodial.git
synced 2024-11-29 08:56:45 +01:00
15 lines
277 B
Go
15 lines
277 B
Go
|
package events
|
||
|
|
||
|
type EventEmitter interface {
|
||
|
Close()
|
||
|
Publish(subject string, dedupId string, eventPayload interface{}) error
|
||
|
}
|
||
|
|
||
|
type (
|
||
|
EventPayload struct {
|
||
|
OtxId uint `json:"otxId"`
|
||
|
TrackingId string `json:"trackingId"`
|
||
|
TxHash string `json:"txHash"`
|
||
|
}
|
||
|
)
|