qtypes

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageBody

type MessageBody struct {
	// queue body
	Body any `json:"body"`
	// queue type
	Type string `json:"type"`
	// execution count
	Attempt uint16 `json:"attempt"`
}

type MessageData

type MessageData struct {
	// message id
	ID string `json:"id"`
	// queue type
	Type string `json:"type"`
	// queue body
	Body string `json:"body"`
	// queue create time
	CreatedAt int64 `json:"createdAt"`
	// delay time(unit millisecond)
	Delay int32 `json:"delay"`
	// execution count
	Attempt uint16 `json:"attempt"`
}

type QueueConf

type QueueConf struct {
	// queue name
	Name string `json:",optional"`
	// single active consumer,Effective only in RabbitMQ
	SingleActive bool `json:",optional"`
}

QueueConf topic conf

type QueueData

type QueueData struct {
	// queue name
	Name string
	// queue type
	Type string
	// queue body
	Body any
	// execution count
	Attempt uint16
}

QueueData 队列数据

type QueueDelayData

type QueueDelayData struct {
	// queue name
	Name string
	// queue type
	Type string
	// queue body
	Body any
	// delay time(unit millisecond)
	Delay int32
	// execution count
	Attempt uint16
}

Jump to

Keyboard shortcuts

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