mirror of
https://github.com/grassrootseconomics/cic-custodial.git
synced 2024-11-24 23:06:47 +01:00
Mohammed Sohail
40cb86f522
* otx can nw be tracked at /api/track/:trackingId * moved queries to queries folder * fixed validation error check in ErrorHandler * added enum package with enum types * updated migrations: added enum tables
13 lines
268 B
Go
13 lines
268 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"`
|
|
}
|