Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceStorage ¶
type ResourceStorage interface { // Get returns a reader for the resource located at path. Get(path string) (io.ReadCloser, error) // Put writes data from the specified reader to path and returns a checksum of the data written. Put(path string, r io.Reader, length int64) (checksum string, err error) // Remove deletes the data at the specified path. Remove(path string) error }
ResourceStorage instances save and retrieve data from an underlying storage implementation.
Click to show internal directories.
Click to hide internal directories.