appier/pull.go

15 lines
381 B
Go
Raw Normal View History

2022-03-23 02:12:54 +00:00
package appier
// Pull ...
type Pull struct{}
// ProductUpsert ...
2022-03-23 03:24:37 +00:00
func (Pull) ProductUpsert(payload []byte) (bool, error) {
return publishWithJetStream(JetStreamAppierService, SubjectPullProductUpsert, payload)
2022-03-23 02:12:54 +00:00
}
2022-03-23 03:36:14 +00:00
// BrandUpsert ...
func (Pull) BrandUpsert(payload []byte) (bool, error) {
return publishWithJetStream(JetStreamAppierService, SubjectPullBrandUpsert, payload)
}