Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SubmitEventOrPanic ¶
func SubmitEventOrPanic(ctx context.Context, pubsubServer *pubsub.Server, msg interface{}, events map[string][]string)
SubmitEventOrPanic submits an event or panics
func SubscribeAndHandleEvents ¶
func SubscribeAndHandleEvents(ctx context.Context, pubsubServer *pubsub.Server, clientID string, eventQuery pubsub.Query, callback func(event pubsub.Message), logger log.Logger, outCapacity ...int)
SubscribeAndHandleEvents subscribes to events and sends back a callback
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.