Documentation ¶
Index ¶
Constants ¶
View Source
const ( StreamName string = "CUSTODIAL" StreamSubjects string = "CUSTODIAL.*" // Subjects AccountNewNonce string = "CUSTODIAL.accountNewNonce" AccountRegister string = "CUSTODIAL.accountRegister" AccountGiftGas string = "CUSTODIAL.systemNewAccountGas" AccountGiftVoucher string = "CUSTODIAL.systemNewAccountVoucher" AccountRefillGas string = "CUSTODIAL.systemRefillAccountGas" DispatchFail string = "CUSTODIAL.dispatchFail" DispatchSuccess string = "CUSTODIAL.dispatchSuccess" SignTransfer string = "CUSTODIAL.signTransfer" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventEmitter ¶
type EventEmitter interface { Close() Publish(subject string, dedupId string, eventPayload interface{}) error }
func NewJetStreamEventEmitter ¶
func NewJetStreamEventEmitter(o JetStreamOpts) (EventEmitter, error)
type EventPayload ¶
Click to show internal directories.
Click to hide internal directories.