cmd

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: EUPL-1.2 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, config Config) error

Types

type Config

type Config struct {
	core.Config `koanf:",squash"`
	MCSD        mcsd.Config      `koanf:"mcsd"`
	MCSDAdmin   mcsdadmin.Config `koanf:"mcsdadmin"`
	Nuts        nutsnode.Config  `koanf:"nuts"`
	NVI         nvi.Config       `koanf:"nvi"`
	PDP         pdp.Config       `koanf:"pdp"`
	MITZ        mitz.Config      `koanf:"mitz"`
	HTTP        http.Config      `koanf:"http"`
	AuthN       authn.Config     `koanf:"authn"`
	Tracing     tracing.Config   `koanf:"tracing"`
}

func DefaultConfig

func DefaultConfig() Config

func LoadConfig

func LoadConfig() (Config, error)

LoadConfig loads configuration from YAML file and environment variables

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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