gcs

package
v0.0.0-...-8717a1f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2020 License: GPL-2.0 Imports: 6 Imported by: 0

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 (*ObjectStorageService) Write

func (o *ObjectStorageService) Write(reader io.Reader, metadata userland.ObjectMetaData) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL