Documentation ¶
Index ¶
Constants ¶
View Source
const Provider string = "inmem"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubsubInmem ¶
type PubsubInmem struct { pubsub_subscriber.SubscriberBase pubsub.PublisherBase }
func New ¶
func New(app app_context.Context, serializer ...message.Serializer) *PubsubInmem
func (*PubsubInmem) Publish ¶
func (p *PubsubInmem) Publish(topicName string, obj interface{}) error
func (*PubsubInmem) Subscribe ¶
func (p *PubsubInmem) Subscribe(topic pubsub_subscriber.Topic) (string, error)
func (*PubsubInmem) Unsubscribe ¶
func (p *PubsubInmem) Unsubscribe(topicName string, subscriptionId ...string)
Click to show internal directories.
Click to hide internal directories.