fix
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package mq_consumer_factory
|
||||
|
||||
import "context"
|
||||
|
||||
// 消费mq消息要实现对应Run方法
|
||||
type MqHandle interface {
|
||||
Run(data []byte) error
|
||||
Run(ctx context.Context, data []byte) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user