mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-06 12:03:47 +00:00
11 lines
246 B
Go
11 lines
246 B
Go
package storage
|
|
|
|
import "fmt"
|
|
|
|
var ErrContentNotFound = fmt.Errorf("content not found")
|
|
|
|
type ContentStorage interface {
|
|
Get(contentKey []byte, contentId []byte) ([]byte, error)
|
|
|
|
Put(contentKey []byte, contentId []byte, content []byte) error
|
|
}
|