pubsub

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package pubsub declares, once, the config the Pub/Sub v1 and v2 function adapter fx modules share: whether the adapter is on and which version it is.

Index

Constants

View Source
const (
	// Root is the config root of the Pub/Sub function adapter fx modules.
	Root = adapter.Root + ".pubsub"

	// VersionKey chooses which adapter fx module subscribes.
	VersionKey = Root + ".version"
)

Variables

This section is empty.

Functions

func IsEnabled

func IsEnabled() bool

IsEnabled returns true when the adapter is enabled, whatever its version.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL