commiter

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instant

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

Instant Commiter adds commit after every single received commit

func NewInstant

func NewInstant(headManager thead.Manager, messageStorage storage.MessageStorage, pinner sentinel.Pinner) *Instant

func (*Instant) Add

func (i *Instant) Add(ctx context.Context, cid cid.Cid) error

Jump to

Keyboard shortcuts

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