datastore

package module
v0.0.0-...-f22d585 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2014 License: Apache-2.0 Imports: 6 Imported by: 0

README

Go library for Google Cloud Datastore

Google Cloud Datastore is a fully managed, schemaless, non-relational datastore accessible through Google APIs infrastructure. It provides a rich set of query capabilities, supports atomic transactions, and automatically scales up and down in response to load.

This repository contains the Go library only for the protocol buffers API for Google Cloud Datastore. Please see GoogleCloudPlatform/google-cloud-datastore for other languages. Generic Go JSON support for many Google APIs is provided by google-api-go-client. Note that the datastore JSON support doesn't work properly (issue #54 and discussion).

Contributing changes

Licensing

Documentation

Index

Constants

View Source
const (
	DatastoreScope     = "https://www.googleapis.com/auth/datastore"
	UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.email"
)
View Source
const BasePath = "https://www.googleapis.com/datastore/v1beta2/datasets/"

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	Transport http.RoundTripper
}

func (*Connection) AllocateIds

func (c *Connection) AllocateIds(datasetId string, req *pb.AllocateIdsRequest) (*pb.AllocateIdsResponse, error)

func (*Connection) BeginTransaction

func (c *Connection) BeginTransaction(datasetId string, req *pb.BeginTransactionRequest) (*pb.BeginTransactionResponse, error)

func (*Connection) Commit

func (c *Connection) Commit(datasetId string, req *pb.CommitRequest) (*pb.CommitResponse, error)

func (*Connection) Lookup

func (c *Connection) Lookup(datasetId string, req *pb.LookupRequest) (*pb.LookupResponse, error)

func (*Connection) Rollback

func (c *Connection) Rollback(datasetId string, req *pb.RollbackRequest) (*pb.RollbackResponse, error)

func (*Connection) RunQuery

func (c *Connection) RunQuery(datasetId string, req *pb.RunQueryRequest) (*pb.RunQueryResponse, error)

Directories

Path Synopsis
proto
datastore_v1
Package api_services_datastore is a generated protocol buffer package.
Package api_services_datastore is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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