task

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

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
}

func New

func New(ctx context.Context, opts *Options) *Client

func (*Client) Close

func (c *Client) Close()

func (*Client) Create

func (c *Client) Create(ctx context.Context, url string, data any)

func (*Client) Schedule

func (c *Client) Schedule(ctx context.Context, url string, data any, schedule time.Time)

type Options added in v0.0.31

type Options struct {
	ProjectID      string
	LocationID     string
	Queue          string
	ServiceAccount string
}

Jump to

Keyboard shortcuts

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