migrate from github
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package svc_iface
|
||||
|
||||
type HandleFunc func(data []byte) error
|
||||
|
||||
type TopicConsumer interface {
|
||||
Topic() string
|
||||
Consume() HandleFunc
|
||||
}
|
||||
|
||||
type TopicProducer interface {
|
||||
Topic() string
|
||||
}
|
||||
|
||||
// type MQTopicHandler interface {
|
||||
// TopicProducer
|
||||
// TopicConsumer
|
||||
// }
|
||||
Reference in New Issue
Block a user