mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-30 06:22:05 +08: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
|
||
|
}
|