Documentation ¶ Index ¶ type Instant func NewInstant(headManager thead.Manager, messageStorage storage.MessageStorage, ...) *Instant func (i *Instant) Add(ctx context.Context, cid cid.Cid) error 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 Source Files ¶ View all Source files instant.go Click to show internal directories. Click to hide internal directories.