Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalStorage ¶
type LocalStorage struct {
// contains filtered or unexported fields
}
var LocalStorageInstance *LocalStorage
func (*LocalStorage) GetData ¶
func (instance *LocalStorage) GetData(key string) []byte
func (*LocalStorage) PutData ¶
func (instance *LocalStorage) PutData(key string, data []byte)
put data
type StorageBucket ¶
type StorageBucket struct {
// contains filtered or unexported fields
}
var StorageBucketInstance *StorageBucket
func CreateStorageBucket ¶
func CreateStorageBucket(bucketName string) *StorageBucket
func (*StorageBucket) Compose ¶
func (sb *StorageBucket) Compose(bucket string, srcObjects []string, destObj string)
Generates a composite object
func (*StorageBucket) ListObjects ¶
func (sb *StorageBucket) ListObjects() []byte
func (*StorageBucket) PutObject ¶
func (sb *StorageBucket) PutObject(key string, data []byte)
put a new object
func (*StorageBucket) ReadBytes ¶
func (sb *StorageBucket) ReadBytes(object string) []byte
read the object bytes
Click to show internal directories.
Click to hide internal directories.