mirror

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMirrorCorrupt = errors.New("mirror is corrupt")

Functions

This section is empty.

Types

type Engine

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

func New

func New(cfg *config.Config, logger *logging.Logger) *Engine

func (*Engine) Sync

func (e *Engine) Sync(ctx context.Context) error

type SyncFunc added in v0.4.5

type SyncFunc func(
	context.Context,
	string,
) error

Jump to

Keyboard shortcuts

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