Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectStorageService ¶
type ObjectStorageService struct {
// contains filtered or unexported fields
}
KeyValueService implements userland.KeyValueService interface using redis
func NewObjectStorageService ¶
func NewObjectStorageService(storageClient *storage.Client, bucketName string) *ObjectStorageService
NewKeyValueService construct a new KeyValueService from redis client
func (*ObjectStorageService) Fetch ¶
func (o *ObjectStorageService) Fetch(path string) ([]byte, userland.ObjectMetaData, error)
func (*ObjectStorageService) Write ¶
func (o *ObjectStorageService) Write(reader io.Reader, metadata userland.ObjectMetaData) (string, error)
Click to show internal directories.
Click to hide internal directories.