Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentStore ¶
type PersistentStore interface { // Returns data stream. Load() ([]byte, error) // Returns modified time and its existence of the stream. // If the second returned value is false, the data does not exists. ModTime() (time.Time, bool, error) // Saves given data stream. Save(data []byte) error }
func NewCompressedStore ¶
func NewCompressedStore(store PersistentStore) PersistentStore
func NewFileStore ¶
func NewFileStore(path string) PersistentStore
func NewS3Store ¶
func NewS3Store( region string, bucketName string, key string, ) (PersistentStore, error)
Click to show internal directories.
Click to hide internal directories.