14 lines
191 B
Go
14 lines
191 B
Go
package sync
|
|
|
|
type PubSubPayload struct {
|
|
}
|
|
|
|
type PubSub interface {
|
|
Send(msg *PubSubPayload) error
|
|
Listen(chan *PubSubPayload) error
|
|
}
|
|
|
|
func NewPubSub(topic string) PubSub {
|
|
return nil
|
|
}
|