Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFilters ¶
AddFilters adds Interface filters to the context.
Types ¶
type Certificate ¶
Certificate represents a public certificate for the app.
type Filter ¶
Filter is the function signature for a filter GI implementation. It gets the current GI implementation, and returns a new GI implementation backed by the one passed in.
type Interface ¶
type Interface interface { AppID() string FullyQualifiedAppID() string GetNamespace() string Datacenter() string DefaultVersionHostname() string InstanceID() string IsDevAppServer() bool IsOverQuota(err error) bool IsTimeoutError(err error) bool ModuleHostname(module, version, instance string) (string, error) ModuleName() string RequestID() string ServerSoftware() string ServiceAccount() (string, error) VersionID() string Namespace(namespace string) (context.Context, error) AccessToken(scopes ...string) (token string, expiry time.Time, err error) PublicCertificates() ([]Certificate, error) SignBytes(bytes []byte) (keyName string, signature []byte, err error) }
Interface is the interface for all of the package methods which normally would be in the 'appengine' package.
Click to show internal directories.
Click to hide internal directories.