Back to godoc.org

Command tq

v0.0.0-...-1557bcf
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Overview

Demo of server/tq module on Appengine.

It can also run locally, but it needs real Cloud Datastore, so you'll need to provide some Cloud Project name. Note that it will create real entities there which may interfere with the production server/tq deployment in this project, so use some experimental Cloud Project for this:

$ go run . -cloud-project your-experimental-project
$ curl http://127.0.0.1:8800/count-down/10
<observe logs>
$ curl http://127.0.0.1:8800/internal/tasks/c/sweep
<observe logs>

To test this for real, deploy the GAE app:

$ gae.py upload -A your-experimental-project --switch
$ curl https://<your-experimental-project>.appspot.com/count-down/10
<observe logs>

Again, be careful with what Cloud Project you are updating.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier