dynamic

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package dynamic provides functionality related to dynamic features.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientConfigToDynamicFeatureValues

func ClientConfigToDynamicFeatureValues(c *provider.ClientConfig) (fs pkg.FeatureValues)

ClientConfigToDynamicFeatureValues creates a list of FeatureValue for all loaded dynamic pkg from the given ClientConfig.

func LoadDynamicFeatures

func LoadDynamicFeatures() []pkg.Feature

LoadDynamicFeatures returns the already loaded dynamic features

func NewDynamicFeature

func NewDynamicFeature(
	name string, colorization uint8, documentation pkg.FeatureDocumentation, check pkg.FeatChecker,
) pkg.Feature

NewDynamicFeature creates a new dynamic feature.

func SetModule

func SetModule(m *modules.Module)

SetModule sets the modules.Module so it can be used later

func UpdateDynamicFeatures

func UpdateDynamicFeatures(issuer, providerName string, fs pkg.FeatureValues) error

UpdateDynamicFeatures updates the value of a dynamic feature for the given issuer and invalidates the HContents cache.

Types

This section is empty.

Jump to

Keyboard shortcuts

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