Versions in this module Expand all Collapse all v1 v1.0.0 Sep 29, 2016 Changes in this version + func APICall(ctx context.Context, service, method string, in, out proto.Message) error + func AccessToken(c context.Context, scopes ...string) (token string, expiry time.Time, err error) + func AppID(c context.Context) string + func BackgroundContext() context.Context + func Datacenter(c context.Context) string + func DefaultVersionHostname(c context.Context) string + func InstanceID() string + func IsDevAppServer() bool + func IsOverQuota(err error) bool + func IsTimeoutError(err error) bool + func Main() + func ModuleHostname(c context.Context, module, version, instance string) (string, error) + func ModuleName(c context.Context) string + func Namespace(c context.Context, namespace string) (context.Context, error) + func NewContext(req *http.Request) context.Context + func RequestID(c context.Context) string + func ServerSoftware() string + func ServiceAccount(c context.Context) (string, error) + func SignBytes(c context.Context, bytes []byte) (keyName string, signature []byte, err error) + func VersionID(c context.Context) string + func WithAPICallFunc(ctx context.Context, f APICallFunc) context.Context + func WithContext(parent context.Context, req *http.Request) context.Context + type APICallFunc func(ctx context.Context, service, method string, in, out proto.Message) error + type BlobKey string + type Certificate struct + Data []byte + KeyName string + func PublicCertificates(c context.Context) ([]Certificate, error) + type GeoPoint struct + Lat float64 + Lng float64 + func (g GeoPoint) Valid() bool + type MultiError []error + func (m MultiError) Error() string