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
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.
Click to show internal directories.
Click to hide internal directories.