cloudtasks

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: MIT Imports: 13 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client ... CloudTasksのクライアント

func NewClient

func NewClient(
	port int,
	deploy string,
	projectID string,
	serviceID string,
	locationID string,
	authToken string) *Client

NewClient ... クライアントを作成する

func (*Client) AddTask

func (c *Client) AddTask(ctx context.Context, queue string, path string, params interface{}) error

AddTask ... リクエストをEnqueueする

Jump to

Keyboard shortcuts

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