any-sync/service/sync/pubsub.go
2022-07-14 14:28:37 +02:00

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
}