Questions tagged [google-app-engine-go]

59 questions
0
votes
1 answer

May I deploy a Golang app on app-engine and read/write files without modifying my code?

I have created a web-app in Go and I would like to make it possible to run it on a server or on app-engine in the smoothest way I can. Basically I created a single .exe (I am developing on Windows) and a set of folders wih static files. In addition…
Romano
  • 29
  • 5
0
votes
1 answer

Can I send resources with HTTP/2 Server Push?

My webapp, written in Go, deployed on Google App Engine Standard, has handlers to generate HTML for each page (server-side rendering). It would be nice for performance if I could in certain cases (cautiously) pre-emptively send CSS and JS resources…
Deleplace
  • 6,812
  • 5
  • 28
  • 41
0
votes
2 answers

How can I configure Google App Engine to not build some Go files?

I am trying to deploy a set of Google Talk slides to Google App Engine. Some of my example files have build errors on purpose, but I can't deploy these to Google App Engine because it complains that they don't build. Supposedly I should be able to…
shieldstroy
  • 1,307
  • 1
  • 10
  • 24
0
votes
0 answers

Nginx Error while sending HTTP Get Request in App Engine Flexible Enviroment

I am sending HTTP GET request in my App When I send the request using http.Get(URL) just like the following code I get 200 as HTTP status code: resp, err := http.Get("https://www.google.co.in/") if err != nil { http.Error(w, err.Error(),…
0
votes
1 answer

Issuing HTTP Get Request in Flexible Environment in App Engine

I am using Flexible Environment in App engine I want to send HTTP Get request in my code. ctx := appengine.NewContext(r) client := urlfetch.Client(ctx) req, err := http.NewRequest("GET", "https://www.google.com/", nil) res, err := client.Do(req) if…
0
votes
0 answers

How to time.sleep() for some time in App Engine?

I want call to two GET requests from my App in App Engine. I want to sleep for few minutes after calling the first request and then call the second request. If I add time.sleep() in the code I am able to deploy code but if I hit the URL of the App…
Gurjit Singh
  • 31
  • 1
  • 4
0
votes
1 answer

How do I get output from request.RemoteAddr and X-AppEngine-Country, Region, etc. in Google App Engine Standard Env for Go?

I have a service running in the Google App Engine Standard Environment written in Go that is configured to use the latest runtime at deployment (api_version: go1 - which is currently Go 1.8). In this service I inspect the request headers for various…
0
votes
1 answer

Using appengine with arch and zsh unable to find goapp

I am new to appengine and have installed google-cloud-sdk from the AUR(arch user repository) and and the google-appengine-go extention at /opt/google-cloud-sdk thanks to this I am able to run a dev server using dev_appserver.py app.yaml But when…
0
votes
1 answer

UseLegacySql: false option in JobConfigurationQuery is ignored

Job declaration: job, err := bqClient.Jobs.Insert(_PROJECT_ID_, &bigquery.Job{ Configuration: &bigquery.JobConfiguration{ Query: &bigquery.JobConfigurationQuery{ UseLegacySql: false, CreateDisposition: …
Quentin Sommer
  • 195
  • 2
  • 14
0
votes
2 answers

Build error on deploy only: cannot use appengine.AccessToken

A simple Go GAE (Flexible) app I'm writing fails to deploy as soon as I bring in cloud.google.com packages to use Google services. Snippet from deploy log: ... golang.org/x/oauth2/google #…
user1184088
  • 51
  • 1
  • 5
0
votes
2 answers

How to fmt.Println() memory not allocated by the go program?

I’d like to print the virtual memory content of the current program from 0x10000 to 0x50000 (an area containing a syscall trampoline on my system). package main import ( "syscall" "unsafe" ) func main() { syscall.Syscall(SYS_WRITE,…
user2284570
  • 2,891
  • 3
  • 26
  • 74
0
votes
2 answers

Html Form POST values extracted fine when at localhost:8080 but empty string when deployed at AppSpot Golang

Fri 2016.12.09 This simple POST handler will extract form values when running at localhost:8080. [1] However, when deployed to AppSpot, the values are an empty string. Changing the form action to 'GET' works both at localhost:8080 and when deployed…
Robin
  • 1
  • 2
0
votes
0 answers

Google App Engine: Using Remote API with a Local GAE Dev Server

I have a non-GAE backend that's using the Remote API to access datastore. The only way to do this (without a proxy GAE service) is to use the GAE Remote API. This works fine when connecting the Remote Context to a GAE production deployment, but…
orcaman
  • 6,263
  • 8
  • 54
  • 69
-1
votes
1 answer

How to deploy "Verily Pathfinder Virtual Agent Template for COVID-19"

I would like to try "Verily Pathfinder Virtual Agent Template for COVID-19" (https://github.com/GoogleCloudPlatform/covid19-rapid-response-demo) I tried it, but had some difficulties. Could you help me please? I use Windows 10, Windows Subsystems…
1 2 3
4