rocketmq

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 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 Message

type Message interface {
	Topic() string
}

Message interface

type MessageQ

type MessageQ struct {
	*rocketmq.ProducerConfig
	// contains filtered or unexported fields
}

MessageQ ...

func New

func New() *MessageQ

New ...

func (*MessageQ) Close

func (mq *MessageQ) Close() error

Close ...

func (*MessageQ) Push

func (mq *MessageQ) Push(messages ...Message)

Push ...

func (*MessageQ) Start

func (mq *MessageQ) Start() error

Start ...

Jump to

Keyboard shortcuts

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