blobsaver

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InputName  = "blobs"
	StopOutput = "stop"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	modules.BaseModule
	// contains filtered or unexported fields
}

Module - saves received from input block to storage.

                     |----------------|
                     |                |
-- storage.Block ->  |     MODULE     |
                     |                |
                     |----------------|

func NewModule

func NewModule(
	kind string,
) (*Module, error)

NewModule -

func (*Module) Close

func (module *Module) Close() error

Close -

func (*Module) Start

func (module *Module) Start(ctx context.Context)

Start -

type Msg

type Msg struct {
	*blobTypes.Blob

	Height   pkgTypes.Level
	EndBlock bool
}

Jump to

Keyboard shortcuts

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