remote_api - ActiveState ActiveGo 1.8

Package remote_api

import ""

Overview ▾

Package remote_api implements the /_ah/remote_api endpoint. This endpoint is used by offline tools such as the bulk loader.

func NewRemoteContext

func NewRemoteContext(host string, client *http.Client) (context.Context, error)

NewRemoteContext returns a context that gives access to the production APIs for the application at the given host. All communication will be performed over SSL unless the host is localhost.