package
0.0.25
Repository: https://github.com/adipurnama/go-toolkit.git
Documentation: pkg.go.dev

# Functions

NewPubSubClient returns new PubSub client in 5s timeout.
NewPubSubSubscription returns new PubSub topic subscriber in 5s timeout.
NewPubSubTopic returns new PubSub topic publisher in 5s timeout.
ReceiveSubscription blocks to receive messages from pubsub subscription Call with goroutine if you'd like to do something else in the meantime.
WithAutoCreate will create pubsub resource when it's not exists yet.
WithoutCheckExistance bypass pubsub resource existence validations.

# Variables

ErrInvalidSubscription returned when try to receive message from subscription `nil`.
ErrInvalidSubscriptionHandler returned when try to receive message from subscription using nil handler.
ErrSubscriptionNotFound ...
ErrTopicNotFound ...

# Structs

Options ...

# Interfaces

No description provided by the author

# Type aliases

Option sets options for connect pubsub.
No description provided by the author