rabbitmqStreams

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingDeclareSize = errors.New("You must specify --declare-stream-size if you specify" +
		" the --declare-stream option")
)

Functions

func NewClient

func NewClient(opts *cli.Options) (*stream.Environment, error)

func Read

func Read(opts *cli.Options, md *desc.MessageDescriptor) error

func Write

func Write(opts *cli.Options, md *desc.MessageDescriptor) error

Types

type RabbitMQStreams

type RabbitMQStreams struct {
	Client   *stream.Environment
	Producer *stream.Producer
	Options  *cli.Options
	MsgDesc  *desc.MessageDescriptor
	// contains filtered or unexported fields
}

func (*RabbitMQStreams) Read

func (r *RabbitMQStreams) Read() error

func (*RabbitMQStreams) Write

func (r *RabbitMQStreams) Write(value []byte) error

Jump to

Keyboard shortcuts

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