Documentation
¶
Overview ¶
Package backend provides common definitions for blobstore backends
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { // Verify returns true with no error if the blob `blobID` is correctly stored Verify(blobID string, m MACFunc) (ok bool, err error) // Put places a blob into storage Put(blobID string, data []byte, m MACFunc) error // Get retrieves a blob from storage Get(blobID string, m MACFunc) (data []byte, err error) }
Backend interfaces provide blob storage
Click to show internal directories.
Click to hide internal directories.