Documentation ¶
Overview ¶
Package mdatastore implements connecting to Google's Datastore service and simplifying a number of interactions with it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
Datastore is a wrapper around a datastore client providing more functionality.
func WithDatastore ¶
WithDatastore returns a Datastore instance which will be initialized and configured when the start event is triggered on the returned Context (see mrun.Start). The Datastore instance will have Close called on it when the stop event is triggered on the returned Context (see mrun.Stop).
gce is optional and can be passed in if there's an existing gce object which should be used, otherwise a new one will be created with mdb.MGCE.