Documentation ¶
Index ¶
- type GoogleCloudDatastorePersistenceLayer
- func (g *GoogleCloudDatastorePersistenceLayer) Load(ctx context.Context, key []byte) ([]byte, error)
- func (g *GoogleCloudDatastorePersistenceLayer) Purge(ctx context.Context, now time.Time) error
- func (g *GoogleCloudDatastorePersistenceLayer) Save(ctx context.Context, key, value []byte, ttl time.Time) error
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 ¶
func (g *GoogleCloudDatastorePersistenceLayer) Load(ctx context.Context, key []byte) ([]byte, error)
Load returns value if found, nil otherwise
Click to show internal directories.
Click to hide internal directories.