golden_hammer

package
v6.2.13 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Enabled indicates whether the module is enabled.
	Enabled bool `koanf:"enabled"`
	// Interval is the interval at which the module should apply its fixes.
	Interval time.Duration `koanf:"interval"`
}

Config contains the configuration for the module.

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig returns the default configuration for the module.

type GoldenHammer

type GoldenHammer struct {
	// contains filtered or unexported fields
}

GoldenHammer is a module that fixes a node's DID configuration. Its name is intentionally weird, since the module should not exist. In future all fixes it does should be deprecated and removed after OpenID4VCI has become the standard way of exchanging VCs. See https://github.com/nuts-foundation/nuts-node/issues/2318

func New

func New(vdrInstance vdr.VDR, didmanAPI didman.Didman) *GoldenHammer

func (*GoldenHammer) Config

func (h *GoldenHammer) Config() interface{}

func (*GoldenHammer) Configure

func (h *GoldenHammer) Configure(config core.ServerConfig) error

func (*GoldenHammer) Name

func (h *GoldenHammer) Name() string

func (*GoldenHammer) Shutdown

func (h *GoldenHammer) Shutdown() error

func (*GoldenHammer) Start

func (h *GoldenHammer) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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