12 lines
247 B
Go
12 lines
247 B
Go
package store
|
|
|
|
import "github.com/lbryio/errors.go"
|
|
|
|
type BlobStore interface {
|
|
Has(string) (bool, error)
|
|
Get(string) ([]byte, error)
|
|
Put(string, []byte) error
|
|
PutSD(string, []byte) error
|
|
}
|
|
|
|
var ErrBlobNotFound = errors.Base("blob not found")
|