Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryForTx ¶
Types ¶
type EventBus ¶
type EventBus interface { Start() error Stop() error Subscribe(ctx context.Context, subscriber string, query tmPubSub.Query, out chan<- interface{}) error Unsubscribe(ctx context.Context, subscriber string, query tmPubSub.Query) error UnsubscribeAll(ctx context.Context, subscriber string) error Publish(msg interface{}, tags tmPubSub.TagMap) error }
func NewEventBusWithBufferCapacity ¶
NewEventBusWithBufferCapacity returns a new event bus with the given buffer capacity.
func NewNopeEventBus ¶
func NewNopeEventBus() EventBus
Click to show internal directories.
Click to hide internal directories.