resender

package
v1.0.30 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resender

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

func NewResender

func NewResender(fromNats, toNats *options.NatsOptions) *Resender

func (*Resender) Close

func (r *Resender) Close() error

func (*Resender) FlushCounter

func (r *Resender) FlushCounter() (uint, int, int)

func (*Resender) Subscribe

func (r *Resender) Subscribe(
	fromSubject, queue, toSubject string,
	pendingMsgLimit, pendingByteLimit int,
	debug bool,
) (*nats.Subscription, error)

Jump to

Keyboard shortcuts

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