reflector.go/store/store.go
2018-02-07 15:53:53 -05:00

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")