tasks2

package
v0.0.0-...-9357fd6 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelloHandler

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

func NewHelloHandler

func NewHelloHandler(ctx context.Context, helloQueueTasksService *TasksService) (*HelloHandler, error)

func (*HelloHandler) Handle

func (h *HelloHandler) Handle(w http.ResponseWriter, r *http.Request)

type ReceiveHandler

type ReceiveHandler struct {
}

func NewReceiveHandler

func NewReceiveHandler(ctx context.Context) (*ReceiveHandler, error)

func (*ReceiveHandler) Handle

func (h *ReceiveHandler) Handle(w http.ResponseWriter, r *http.Request)

type TasksService

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

func NewTasksService

func NewTasksService(ctx context.Context, queue *cloudtasksbox.Queue, service *cloudtasksbox.Service) (*TasksService, error)

func (*TasksService) CreateGetTask

func (s *TasksService) CreateGetTask(ctx context.Context, task *cloudtasksbox.GetTask) (taskName string, err error)

Jump to

Keyboard shortcuts

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