mqtask

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MQTask

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

func NewMQTask

func NewMQTask(svcCtx *svc.ServiceContext) *MQTask

func (*MQTask) Register

func (m *MQTask) Register()

Register adds task to cron. | 在此处定义任务处理逻辑,注册worker.

func (*MQTask) Start

func (m *MQTask) Start()

Start starts the server.

func (*MQTask) Stop

func (m *MQTask) Stop()

Stop stops the server.

Jump to

Keyboard shortcuts

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