Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPublisher ¶
Creates a new Google's pubsub publisher The topic must already exist in the given project. the objectType interface should be any of the following types, any other type will cause an error returning a nil value 1. Copy of a structure 2. Non-nil pointer to a struct of the expected type. 3. A map with key string and any value
func NewSubscriber ¶
func NewSubscriber(project, subscriptionName string, objectType interface{}, logMode bool) queuesgo.Subscriber
Creates a new Google's pubsub subscriber implementation the subscription name must exists already on the given projects the objectType interface should be any of the following types, any other type will cause an error returning a nil value 1. Copy of a structure 2. Non-nil pointer to a struct of the expected type. 3. A map with key string and any value
Types ¶
This section is empty.