rabbitmq

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RBMQ mq

Functions

func InitRabbitMQ

func InitRabbitMQ()

func PushMessage

func PushMessage(m *MsgStruct)

PushMessage 发送消息

Types

type CreateOrder

type CreateOrder struct {
	PlayerId string `json:"playerId"`
	GoodsId  string `json:"goodsId"`
	Rate     string `json:"rate"`
	Time     string `json:"time"`
	Sign     string `json:"sign"`
	ServerId string `json:"server_id"`
}

type MsgStruct

type MsgStruct struct {
	RetryCount int          `json:"retryCount"`
	Data       string       `json:"data"`
	AppId      string       `json:"appId"`
	Url        string       `json:"url"`
	Bsn        string       `json:"bsn"`
	Tsn        string       `json:"tsn"`
	Param      *CreateOrder `json:"param"`
}

Jump to

Keyboard shortcuts

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