Documentation ¶
Overview ¶
Package remote_api implements the /_ah/remote_api endpoint. This endpoint is used by offline tools such as the bulk loader.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶ added in v1.1.0
type Client struct {
// contains filtered or unexported fields
}
Client is a connection to the production APIs for an application.
Example ¶
c, err := NewClient("example.appspot.com", http.DefaultClient) if err != nil { log.Fatal(err) } ctx := context.Background() // or from a request ctx = c.NewContext(ctx) _, err = datastore.Put(ctx, datastore.NewIncompleteKey(ctx, "Foo", nil), struct{ Bar int }{42}) if err != nil { log.Fatal(err) }
Output:
Click to show internal directories.
Click to hide internal directories.