Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Topic(id string) Topic Subscription(id string) *gcppubsub.Subscription CreateSubscription(ctx context.Context, id string, cfg gcppubsub.SubscriptionConfig) (*gcppubsub.Subscription, error) Close() error }
type Option ¶
type Option func(svc *PubSubSvc)
func WithSubscriptionConcurrencyCount ¶
WithSubscriptionConcurrencyCount Sets the concurrency count to GCPs subscription receiver
func WithSubscriptionLabels ¶
type PubSubSvc ¶
type PubSubSvc struct {
// contains filtered or unexported fields
}
func NewPubSubSvc ¶
type Subscription ¶
Click to show internal directories.
Click to hide internal directories.