handle

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MqHandle

type MqHandle struct {
	*service.Service
	*job.Job
}

func NewMqHandle

func NewMqHandle(ctx context.Context) *MqHandle

func (*MqHandle) TestOrderSyncConsumer

func (h *MqHandle) TestOrderSyncConsumer(ctx context.Context, msg *rabbitmq.ReceiveMsgPackage)

type OrderMsg

type OrderMsg struct {
	Id      int64  `json:"id"`
	Tid     int64  `json:"tid"`
	Cid     int64  `json:"cid"`
	Sid     int64  `json:"sid"`
	OrderSn string `json:"order_sn"`
}

Jump to

Keyboard shortcuts

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