12 lines
320 B
Go
12 lines
320 B
Go
package storage
|
|
|
|
import (
|
|
"git.lumeweb.com/LumeWeb/libs5-go/encoding"
|
|
"git.lumeweb.com/LumeWeb/libs5-go/types"
|
|
)
|
|
|
|
type ProviderStore interface {
|
|
CanProvide(hash *encoding.Multihash, kind []types.StorageLocationType) bool
|
|
Provide(hash *encoding.Multihash, kind []types.StorageLocationType) (StorageLocation, error)
|
|
}
|