listener

package
v1.69.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feature added in v1.69.0

type Feature interface {
	// String should return a user-friendly name for the feature.
	String() string
	// Stop stops the feature.
	Stop()
}

Feature is an interface that represents a feature that can be started and stopped.

type NewFeature added in v1.69.0

type NewFeature func(*config.Config, dyngo.Operation) (Feature, error)

NewFeature is a function that creates a new feature. The error returned will be fatal for the application if not nil. If both the feature and the error are nil, the feature will be considered inactive.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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