transfer

package
v0.0.0-...-8247e04 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileCopy

type FileCopy struct {
	Dir string
}

func (*FileCopy) Transfer

func (transferer *FileCopy) Transfer(ctx context.Context, db *persistence.HashDB, transferRequests <-chan Request)

type Request

type Request struct {
	Hash string
}

type Transferer

type Transferer interface {
	Transfer(ctx context.Context, db *persistence.HashDB, transferRequests <-chan Request)
}

Jump to

Keyboard shortcuts

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