Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OpenSubscription = func(ctx context.Context, topic string) (interface{}, error) { subscriptionGroupsSync.Lock() defer subscriptionGroupsSync.Unlock() groupID := subscriptionGroups[topic] subscriptionGroups[topic] = groupID + 1 uri := fmt.Sprintf(subscribeURI, groupID, topic) return pubsub.OpenSubscription(ctx, uri) }
Functions ¶
func Init ¶
func Init(conf *config.SystemConfig)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.