commit

package
v0.0.0-...-eb8b980 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	Concurrency int
	ChunkSize   int
	Prefix      string
}

type ObjectOutput

type ObjectOutput struct {
	Key      string
	Path     uint32
	Siblings [][]byte
}

type Output

type Output struct {
	TxID    []byte
	Root    []byte
	Objects []ObjectOutput
}

type UseCase

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

func New

func New(
	s3Client s3Client,
	s3Bucket string,
	ethClient ethClient,
	ethPrivateKey string,
	ethChainID int64,
	spinner spinner,
) *UseCase

func (*UseCase) Execute

func (uc *UseCase) Execute(ctx context.Context, input Input) iter.Seq2[Output, error]

Jump to

Keyboard shortcuts

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