tq

command
v0.0.0-...-d0ced46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL