Documentation ¶
Overview ¶
Package pubsub provides Google Pub/Sub implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
Publisher publish message.
func NewPublisher ¶
func NewPublisher(ctx context.Context, projectID string, opts ...option.ClientOption) (*Publisher, error)
NewPublisher constructs new Publisher.
type Receiver ¶
type Receiver struct {
// contains filtered or unexported fields
}
Receiver receives message.
func NewReceiver ¶
func NewReceiver(projectID, subscriptionID string, connectTimeout time.Duration, opts ...option.ClientOption) (*Receiver, error)
NewReceiver construct new Receiver.
Click to show internal directories.
Click to hide internal directories.