Documentation
¶
Overview ¶
Package datastore provides Google Cloud Datastore persistence for bdcache.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New[K comparable, V any](ctx context.Context, cacheID string) (bdcache.PersistenceLayer[K, V], error)
New creates a new Datastore-based persistence layer. The cacheID is used as the Datastore database name. An empty projectID will be auto-detected from the environment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.