gaesafedumpserver

package
v0.0.0-...-92794db Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleCloudDatastorePersistenceLayer

type GoogleCloudDatastorePersistenceLayer struct{}

GoogleCloudDatastorePersistenceLayer persists objects in Google Cloud Datastore, with a memcache cache (using qedux/nds)

func (*GoogleCloudDatastorePersistenceLayer) Load

Load returns value if found, nil otherwise

func (*GoogleCloudDatastorePersistenceLayer) Purge

Purge will remove data that is no longer needed

func (*GoogleCloudDatastorePersistenceLayer) Save

func (g *GoogleCloudDatastorePersistenceLayer) Save(ctx context.Context, key, value []byte, ttl time.Time) error

Save sets value The TTL is a suggestion - it is up to the persistence layer whether it chooses to retain longer

Jump to

Keyboard shortcuts

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