Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface {
PutSnapshot(id string, typ string, data []byte) error
PutCache(id string, data []byte) error
PutBlob(id string, data []byte) error
GetSnapshots(typ string) ([][]byte, error)
GetCacheContent(id string) ([]byte, error)
GetBlobPath(id string) (string, error)
DeleteSnapshot(id string) error
HasCache(id string) (bool, error)
HasBlob(id string) (bool, error)
}
Click to show internal directories.
Click to hide internal directories.