rocketmq

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const Name = "rocketmq"

Name is the name registered for redis

Variables

This section is empty.

Functions

func MustNewPusher

func MustNewPusher(c *queue.Conf) queue.Pusher

func MustNewQueue

func MustNewQueue(c *queue.Conf) queue.MessageQueue

func NewLogger

func NewLogger(core zapcore.Core) rlog.Logger

func NewPusher

func NewPusher(config *queue.Conf) (queue.Pusher, error)

func NewQueue

func NewQueue(c *queue.Conf) (queue.MessageQueue, error)

Types

type MessageExtTextMapCarrier

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

func (*MessageExtTextMapCarrier) Get

func (carrier *MessageExtTextMapCarrier) Get(key string) string

Get returns the value associated with the passed key.

func (*MessageExtTextMapCarrier) Keys

func (carrier *MessageExtTextMapCarrier) Keys() []string

Keys lists the keys stored in this carrier.

func (*MessageExtTextMapCarrier) Set

func (carrier *MessageExtTextMapCarrier) Set(key string, value string)

Set stores the key-value pair.

type MessageTextMapCarrier

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

func (*MessageTextMapCarrier) Get

func (carrier *MessageTextMapCarrier) Get(key string) string

Get returns the value associated with the passed key.

func (*MessageTextMapCarrier) Keys

func (carrier *MessageTextMapCarrier) Keys() []string

Keys lists the keys stored in this carrier.

func (*MessageTextMapCarrier) Set

func (carrier *MessageTextMapCarrier) Set(key string, value string)

Set stores the key-value pair.

type RocketLogger

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

func (RocketLogger) Debug

func (l RocketLogger) Debug(msg string, fields map[string]interface{})

func (RocketLogger) Enabled

func (l RocketLogger) Enabled(lvl zapcore.Level) bool

func (RocketLogger) Error

func (l RocketLogger) Error(msg string, fields map[string]interface{})

func (RocketLogger) Fatal

func (l RocketLogger) Fatal(msg string, fields map[string]interface{})

func (RocketLogger) Info

func (l RocketLogger) Info(msg string, fields map[string]interface{})

func (*RocketLogger) Level

func (l *RocketLogger) Level(level string)

func (RocketLogger) OutputPath

func (l RocketLogger) OutputPath(path string) (err error)

func (RocketLogger) Warning

func (l RocketLogger) Warning(msg string, fields map[string]interface{})

Jump to

Keyboard shortcuts

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