policy

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Durable

type Durable struct {
}

Durable sets the outgoing amqp message delivery-mode property to durable (2)

func (*Durable) Apply

func (*Durable) Apply(publishing *amqp.Publishing)

Apply the policy on outgoing amqp message

type NonDurable

type NonDurable struct {
}

NonDurable sets the outgoing amqp message delivery-mode property to transient (1)

func (*NonDurable) Apply

func (*NonDurable) Apply(publishing *amqp.Publishing)

Apply the policy on outgoing amqp message

type TTL

type TTL struct {
	Duration time.Duration
}

TTL sets the ttl for the outgoing amqp message

func (*TTL) Apply

func (ttl *TTL) Apply(publishing *amqp.Publishing)

Apply the policy on outgoing amqp message

Jump to

Keyboard shortcuts

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