queue

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DelayMessage

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

DelayMessage ...

func NewDelayMessage

func NewDelayMessage() *DelayMessage

NewDelayMessage ...

func (*DelayMessage) AddTask

func (dm *DelayMessage) AddTask(t time.Time, key string, exec TaskFunc, params []interface{}) error

AddTask ...

func (*DelayMessage) Start

func (dm *DelayMessage) Start()

Start ...

func (*DelayMessage) Stop

func (dm *DelayMessage) Stop()

Stop ...

type Task

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

Task ...

type TaskFunc

type TaskFunc func(args ...interface{})

TaskFunc ...

Jump to

Keyboard shortcuts

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