An open API service indexing awesome lists of open source software.

https://github.com/ipfs/go-ipfs-blockstore

[ARCHIVED] This module provides a thin wrapper over a datastore and provides caching strategies.
https://github.com/ipfs/go-ipfs-blockstore

Last synced: 9 months ago
JSON representation

[ARCHIVED] This module provides a thin wrapper over a datastore and provides caching strategies.

Awesome Lists containing this project

README

          

# go-ipfs-blockstore

> go-ipfs-blockstore implements a thin wrapper over a datastore, giving a clean interface for Getting and Putting block objects.

[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![GoDoc](https://godoc.org/github.com/ipfs/go-ipfs-blockstore?status.svg)](https://godoc.org/github.com/ipfs/go-ipfs-blockstore)
[![Build Status](https://travis-ci.com/ipfs/go-ipfs-blockstore.svg?branch=master)](https://travis-ci.com/ipfs/go-ipfs-blockstore)

## ❗ This repo is no longer maintained.
👉 We highly recommend switching to the maintained version at https://github.com/ipfs/boxo/tree/main/blockstore.
🏎️ Good news! There is [tooling and documentation](https://github.com/ipfs/boxo#migrating-to-boxo) to expedite a switch in your repo.

⚠️ If you continue using this repo, please note that security fixes will not be provided (unless someone steps in to maintain it).

📚 Learn more, including how to take the maintainership mantle or ask questions, [here](https://github.com/ipfs/boxo/wiki/Copied-or-Migrated-Repos-FAQ).

## Table of Contents

- [Install](#install)
- [Usage](#usage)
- [License](#license)

## Install

`go-ipfs-blockstore` works like a regular Go module:

```
> go get github.com/ipfs/go-ipfs-blockstore
```

## Usage

```
import "github.com/ipfs/go-ipfs-blockstore"
```

Check the [GoDoc documentation](https://godoc.org/github.com/ipfs/go-ipfs-blockstore)

## License

MIT © Protocol Labs, Inc.