package
0.3.0
Repository: https://github.com/alanshaw/ipfs-hookds.git
Documentation: pkg.go.dev

# Functions

NewBatch wraps a datastore.Batch and adds optional before and after hooks into it's methods.
WithAfterCommit configures a hook that is called _after_ Commit.
WithAfterDelete configures a hook that is called _after_ Delete.
WithAfterPut configures a hook that is called _after_ Put.
WithBeforeCommit configures a hook that is called _before_ Commit.
WithBeforeDelete configures a hook that is called _before_ Delete.
WithBeforePut configures a hook that is called _before_ Put.

# Structs

Batch is a group of Puts and Deletes to be performed (Committed) in one shot.
Options are batch options.

# Type aliases

AfterCommitFunc is a handler for the after Commit hook.
AfterDeleteFunc is a handler for the after Delete hook.
AfterPutFunc is a handler for the after Put hook.
BeforeCommitFunc is a handler for the before Commit hook.
BeforeDeleteFunc is a handler for the before Delete hook.
BeforePutFunc is a handler for the before Put hook.
Option is the batch option type.