mqtask

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PayMQTask

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

func NewPayMQTask

func NewPayMQTask(svcCtx *svc.ServiceContext) *PayMQTask

func (*PayMQTask) Register

func (m *PayMQTask) Register()

Register adds task to cron. | 在此处定义任务处理逻辑,注册worker. TODO 最好移至mq服务中

func (*PayMQTask) Start

func (m *PayMQTask) Start()

Start starts the server.

func (*PayMQTask) Stop

func (m *PayMQTask) Stop()

Stop stops the server.

Jump to

Keyboard shortcuts

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