2022-03-23 02:12:54 +00:00
|
|
|
package appier
|
|
|
|
|
|
|
|
// Pull ...
|
|
|
|
type Pull struct{}
|
|
|
|
|
|
|
|
// ProductUpsert ...
|
|
|
|
func (Pull) ProductUpsert(payload Payload) (bool, error) {
|
2022-03-23 03:05:15 +00:00
|
|
|
return publishWithJetStream(JetStreamAppierService, SubjectPullProductUpsert, payload.Data)
|
|
|
|
}
|
|
|
|
|
|
|
|
// PingService ...
|
|
|
|
func (Pull) PingService(payload Payload) (bool, error) {
|
|
|
|
return publishWithJetStream(JetStreamAppierService, SubjectPingPullService, payload.Data)
|
2022-03-23 02:12:54 +00:00
|
|
|
}
|