Documentation
¶
Index ¶
Constants ¶
View Source
const Root = adaptercfg.Root
Root is the config root of the Pub/Sub function adapter fx modules.
Variables ¶
This section is empty.
Functions ¶
func IsEnabled ¶
func IsEnabled() bool
IsEnabled returns true when the adapter is enabled and its version is v2 (the default).
func Module ¶
Module adds the Pub/Sub v2 adapter to the function adapters, with the *pubsub.Client of the pubsub v2 factory fx module. It is empty unless the adapter is enabled and its version is v2.
func ModuleWithoutClient ¶ added in v1.6.1
ModuleWithoutClient adds the Pub/Sub v2 adapter to the function adapters and takes its *pubsub.Client from the app: the one the app's publisher and @Inject consumers share. builder wires it with the default client inject generates. It is empty unless the adapter is enabled and its version is v2.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.