replicatorconfig

package
v0.48.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const PutTimeoutDefault = time.Minute

PutTimeoutDefault is the default timeout of object put request in replicator.

Variables

This section is empty.

Functions

This section is empty.

Types

type Replicator added in v0.46.0

type Replicator struct {
	PutTimeout time.Duration `mapstructure:"put_timeout"`
	PoolSize   int           `mapstructure:"pool_size"`
}

Replicator contains configuration for replicator.

func (*Replicator) Normalize added in v0.46.0

func (r *Replicator) Normalize()

Normalize sets default values for Replicator fields if they are not set.

Jump to

Keyboard shortcuts

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