rename package
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package storage
|
||||
|
||||
import "github.com/owncloud/ocis-thumbnails/pkg/thumbnail/resolution"
|
||||
|
||||
// Request combines different attributes needed for storage operations.
|
||||
type Request struct {
|
||||
ETag string
|
||||
Types []string
|
||||
Resolution resolution.Resolution
|
||||
}
|
||||
|
||||
// Storage defines the interface for a thumbnail store.
|
||||
type Storage interface {
|
||||
Get(string) []byte
|
||||
Set(string, []byte) error
|
||||
BuildKey(Request) string
|
||||
}
|
||||
Reference in New Issue
Block a user