mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-31 17:13:57 +00:00
11 lines
208 B
Go
11 lines
208 B
Go
package storage
|
|
|
|
import "fmt"
|
|
|
|
var ErrContentNotFound = fmt.Errorf("content not found")
|
|
|
|
type ContentStorage interface {
|
|
Get(contentId []byte) ([]byte, error)
|
|
|
|
Put(contentId []byte, content []byte) error
|
|
}
|