s3

package
v1.19.8 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewS3Engine

func NewS3Engine(config dtypes.S3BlockDBConfig) (types.BlockDbEngine, error)

Types

type S3Engine

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

func (*S3Engine) AddBlock

func (e *S3Engine) AddBlock(ctx context.Context, slot uint64, root []byte, dataCb func() (*types.BlockData, error)) (bool, error)

func (*S3Engine) Close

func (e *S3Engine) Close() error

func (*S3Engine) GetBlock

func (e *S3Engine) GetBlock(ctx context.Context, slot uint64, root []byte, parseBlock func(uint64, []byte) (interface{}, error)) (*types.BlockData, error)

Jump to

Keyboard shortcuts

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