mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
15 lines
280 B
Go
15 lines
280 B
Go
package client
|
|
|
|
import "github.com/chrislusf/seaweedfs/weed/pb/messaging_pb"
|
|
|
|
type Publisher struct {
|
|
}
|
|
|
|
func (c *MessagingClient) NewPublisher(namespace, topic string) *Publisher {
|
|
return &Publisher{}
|
|
}
|
|
|
|
func (p *Publisher) Publish(m *messaging_pb.RawData) error{
|
|
return nil
|
|
}
|