client

package
v0.0.0-...-7b45942 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueueClient

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

func GetClient

func GetClient() (client *QueueClient)

func (*QueueClient) Connect

func (c *QueueClient) Connect()

func (*QueueClient) Disconnect

func (c *QueueClient) Disconnect() (err error)

func (*QueueClient) NewTask

func (c *QueueClient) NewTask(
	taskName string,
	payload interface{},
	opts ...asynq.Option,
) (err error)

Jump to

Keyboard shortcuts

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