replicator

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 24 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Limiter

type Limiter interface {
	ProcessAndRecord(msg *nats.Msg, f func(msg *nats.Msg, process bool) error) error
	Tracker() *idtrack.Tracker
}

type Stream

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

func NewStream

func NewStream(stream *config.Stream, sr *config.Config, log *logrus.Entry) (*Stream, error)

func (*Stream) Run

func (s *Stream) Run(ctx context.Context, wg *sync.WaitGroup) error

type Target

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

func (*Target) Close

func (t *Target) Close() error

Jump to

Keyboard shortcuts

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