Versions in this module Expand all Collapse all v0 v0.1.1 Nov 28, 2018 Changes in this version + func InitializeBucket(location objectstorage.Location) error + type Folder struct + func NewFolder(svc *providers.Service, path string) *Folder + func (f *Folder) Browse(path string, callback FolderDecoderCallback) error + func (f *Folder) Delete(path string, name string) error + func (f *Folder) GetBucket() objectstorage.Bucket + func (f *Folder) GetClient() api.ClientAPI + func (f *Folder) GetPath() string + func (f *Folder) GetService() *providers.Service + func (f *Folder) Read(path string, name string, callback FolderDecoderCallback) (bool, error) + func (f *Folder) Search(path string, name string) (bool, error) + func (f *Folder) Write(path string, name string, content []byte) error + type FolderDecoderCallback func([]byte) error + type Item struct + func NewItem(svc *providers.Service, path string) *Item + func (i *Item) Acquire() + func (i *Item) Browse(callback func([]byte) error) error + func (i *Item) BrowseInto(path string, callback func([]byte) error) error + func (i *Item) Carry(data model.Serializable) *Item + func (i *Item) Delete(name string) error + func (i *Item) DeleteFrom(path string, name string) error + func (i *Item) Get() interface{} + func (i *Item) GetBucket() objectstorage.Bucket + func (i *Item) GetClient() api.ClientAPI + func (i *Item) GetPath() string + func (i *Item) GetService() *providers.Service + func (i *Item) Read(name string, callback ItemDecoderCallback) (bool, error) + func (i *Item) ReadFrom(path string, name string, callback ItemDecoderCallback) (bool, error) + func (i *Item) Release() + func (i *Item) Reset() + func (i *Item) Write(name string) error + func (i *Item) WriteInto(path string, name string) error + type ItemDecoderCallback func([]byte) (model.Serializable, error)