processor

package
v0.0.0-...-5fc2af4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	Raw   *types.RawData
	Block *types.Block
	// contains filtered or unexported fields
}

func New

func New(raw *types.RawData, state *state.Manager) (*Processor, error)

func (*Processor) Store

func (p *Processor) Store(ctx context.Context, db *pgxpool.Pool) (bool, error)

Store will open a database transaction and execute all the registered Storables in the said transaction

Jump to

Keyboard shortcuts

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