message

package
v2.0.88 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 0 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 struct {
	Id         string
	RoutingKey string
	Exchange   string
	Values     any
	GroupId    string
	ErrorCount uint64
}

func (*Message) GetErrorCount

func (m *Message) GetErrorCount() uint64

func (*Message) GetExchange added in v2.0.62

func (m *Message) GetExchange() string

func (*Message) GetId

func (m *Message) GetId() string

func (*Message) GetRoutingKey

func (m *Message) GetRoutingKey() string

func (*Message) GetValue added in v2.0.26

func (m *Message) GetValue() any

func (*Message) SetErrorCount

func (m *Message) SetErrorCount(count uint64)

func (*Message) SetErrorIncr

func (m *Message) SetErrorIncr()

func (*Message) SetExchange added in v2.0.62

func (m *Message) SetExchange(exchange string)

func (*Message) SetId

func (m *Message) SetId(id string)

func (*Message) SetRoutingKey

func (m *Message) SetRoutingKey(routingKey string)

func (*Message) SetValue added in v2.0.26

func (m *Message) SetValue(values any)

Jump to

Keyboard shortcuts

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