Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GCPPubSub ¶
type GCPPubSub struct {
// contains filtered or unexported fields
}
GCPPubSub type
func (*GCPPubSub) Publish ¶
func (g *GCPPubSub) Publish(req *pubsub.PublishRequest) error
Publish the topic to GCP Pubsub
func (*GCPPubSub) Subscribe ¶
func (g *GCPPubSub) Subscribe(req pubsub.SubscribeRequest, daprHandler func(msg *pubsub.NewMessage) error) error
Subscribe to the GCP Pubsub topic
Click to show internal directories.
Click to hide internal directories.