manager

package
v0.0.0-...-a7b4c27 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ParamNameClientID     = "client_id"
	ParamNameClientSecret = "client_secret"
	ParamNameTokenURL     = "token_url"
	ParamNameCertsURL     = "certs_url"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	// Init initializes the subscription manager and passes the controller manager to use.
	Init(mgr manager.Manager) error

	// Start runs the initialized subscription manager instance.
	Start(defaultSubsConfig env.DefaultSubscriptionConfig, params Params) error

	// Stop tells the subscription manager instance to shut down and clean-up.
	Stop(runCleanup bool) error
}

Manager defines the interface that subscription managers for different messaging backends should implement.

type Params

type Params map[string][]byte

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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