Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubscriptionHandler ¶
type SubscriptionHandler struct { Ads []Ad AdTopic *pubsub.Topic // contains filtered or unexported fields }
SubscriptionHandler handles storing advertisements and publishing them to the advertisement topic.
func (*SubscriptionHandler) HandleMessage ¶
func (handler *SubscriptionHandler) HandleMessage(message *pubsub.Message)
HandleMessage implement subscription handler here
Click to show internal directories.
Click to hide internal directories.