tasks

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient added in v0.1.6

func GetClient(ctxIn context.Context) (*cloudtasks.Client, error)

Create a new Cloud Tasks client instance. Should do this once per submission run, not once per task submission See https://godoc.org/cloud.google.com/go/cloudtasks/apiv2

func SubmitAETask

func SubmitAETask(ctxIn context.Context, client *cloudtasks.Client, projectID, locationID, queueID string, wait time.Duration, uri string, params url.Values) (*taskspb.Task, error)

SubmitAETask submits a new task to your App Engine queue.

Types

This section is empty.

Jump to

Keyboard shortcuts

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