pulsar

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPulsar

func NewPulsar(l logger.Logger) pubsub.PubSub

Types

type Pulsar

type Pulsar struct {
	// contains filtered or unexported fields
}

func (*Pulsar) Close

func (p *Pulsar) Close() error

func (*Pulsar) Features

func (p *Pulsar) Features() []pubsub.Feature

func (*Pulsar) Init

func (p *Pulsar) Init(metadata pubsub.Metadata) error

func (*Pulsar) Publish

func (p *Pulsar) Publish(req *pubsub.PublishRequest) error

func (*Pulsar) Subscribe

func (p *Pulsar) Subscribe(req pubsub.SubscribeRequest, handler pubsub.Handler) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL