mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
5d346d44bd
This reverts commit ef1274edc9
.
15 lines
303 B
Go
15 lines
303 B
Go
package client
|
|
|
|
import "github.com/chrislusf/seaweedfs/weed/pb/messaging_pb"
|
|
|
|
type Subscriber struct {
|
|
}
|
|
|
|
func (c *MessagingClient) NewSubscriber(namespace, topic string) *Subscriber {
|
|
return &Subscriber{}
|
|
}
|
|
|
|
func (p *Subscriber) Subscribe(processFn func(m *messaging_pb.Message)) error{
|
|
return nil
|
|
}
|