pulsar

package
v0.0.0-...-ae47fb0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Op

type Op struct {
	GoRealMB *mb.GoRealMB
}

Op ...

func NewOp

func NewOp() *Op

NewOp ...

func (*Op) CloseConsumer

func (rOp *Op) CloseConsumer()

CloseConsumer ...

func (*Op) CloseProducer

func (rOp *Op) CloseProducer()

CloseProducer ...

func (*Op) InitConsumer

func (rOp *Op) InitConsumer(topicID, peerID string) error

InitConsumer ...

func (*Op) InitProducer

func (rOp *Op) InitProducer(topicID string) error

InitProducer ...

func (*Op) Receive

func (rOp *Op) Receive() (*model.Message, error)

Receive ...

func (*Op) Send

func (rOp *Op) Send(message *model.Message) error

Send ...

Jump to

Keyboard shortcuts

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