replicator

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TransferTaskName = "transfer-task"

Variables

This section is empty.

Functions

This section is empty.

Types

type Replicator

type Replicator interface {
	Replicate(context.Context, *replicahandler.TransferRequest) error
}

type Service

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

func (*Service) RegisterTransferTask added in v0.0.14

func (r *Service) RegisterTransferTask(queue *jobqueue.JobQueue[*replicahandler.TransferRequest]) error

func (*Service) Replicate

func (r *Service) Replicate(ctx context.Context, task *replicahandler.TransferRequest) error

Jump to

Keyboard shortcuts

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