binary_synchronizer

package
v1.2.13-alpha1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotRelinkable = errors.New("not relinkable")
)

Functions

This section is empty.

Types

type BinarySynchronizer

type BinarySynchronizer interface {
	Sync(ctx context.Context, src_filepath, dst_filename, uri, sha256sum string) error
}

func NewBinarySynchronizer

func NewBinarySynchronizer(args ...interface{}) (BinarySynchronizer, error)

type BinarySynchronizerOption

type BinarySynchronizerOption struct {
	TempPath       string
	SyncTimeout    time.Duration
	ForceRelink    bool
	IgnoreChecksum bool
}

func NewBinarySynchronizerOption

func NewBinarySynchronizerOption() *BinarySynchronizerOption

Jump to

Keyboard shortcuts

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