13 lines
217 B
Go
13 lines
217 B
Go
|
package consumer
|
||
|
|
||
|
import "fmt"
|
||
|
|
||
|
// 消费渲染结果数据
|
||
|
type MqConsumerRenderResult struct {
|
||
|
}
|
||
|
|
||
|
func (m *MqConsumerRenderResult) Run(data []byte) error {
|
||
|
fmt.Println("收到消息:" + string(data))
|
||
|
return nil
|
||
|
}
|